Skip to content

Commit

Permalink
[skip ci] Merge pull request #34 from rikigigi/devel
Browse files Browse the repository at this point in the history
ooops...
  • Loading branch information
rikigigi authored Apr 26, 2023
2 parents f630d7a + 802b6ba commit 9084d94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ add_executable(all_tests tests/src/all_tests.cpp)
target_link_libraries(all_tests PRIVATE ${PROJECT_NAME}_lib ${BOOST_LIB} test_fixtures ${LRT} )
if(PYTHON_INTERFACE)
if (${PYTHONLIBS_FOUND})
target_link_libraries(all_tests PUBLIC pybind11::embed)
target_link_libraries(all_tests PRIVATE pybind11::embed)
endif()
endif()

Expand All @@ -270,7 +270,6 @@ if(PYTHON_INTERFACE)
if (${PYTHONLIBS_FOUND})
#python interface
set (PYTHON_SUPPORT ${PYTHON_LIBRARIES})
target_link_libraries(${PROJECT_NAME}_lib PUBLIC pybind11::embed)
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS})
include_directories(pybind11/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
Expand Down

0 comments on commit 9084d94

Please sign in to comment.