Skip to content

Commit

Permalink
get rid of python import function
Browse files Browse the repository at this point in the history
  • Loading branch information
lvanroye committed Jul 31, 2024
1 parent 7ef89dc commit 68affe3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fatropy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ target_include_directories(_fatropy PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../fatro
# define (VERSION_INFO) here.
target_compile_definitions(_fatropy
PRIVATE VERSION_INFO=${EXAMPLE_VERSION_INFO})
# if spectool
if(${WITH_SPECTOOL})
add_library(python_func_import SHARED src/fatropy.cpp src/python_func_import.cpp)
target_link_libraries(python_func_import PRIVATE fatrop pybind11::module pybind11::embed)
endif()
# # if spectool
# if(${WITH_SPECTOOL})
# add_library(python_func_import SHARED src/fatropy.cpp src/python_func_import.cpp)
# target_link_libraries(python_func_import PRIVATE fatrop pybind11::module pybind11::embed)
# endif()

0 comments on commit 68affe3

Please sign in to comment.