Skip to content

Commit

Permalink
Test no linkage macos
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanserre committed Nov 25, 2024
1 parent fc8566d commit 608da11
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ else()
endif()

if(APPLE)
find_package(Python COMPONENTS Development REQUIRED)
link_libraries(${Python_LIBRARIES})
find_package(Python COMPONENTS Development.Module REQUIRED)

# link_libraries(${Python_LIBRARIES})
# message(STATUS "Python_LIBRARIES: ${Python_LIBRARIES}")
else()
find_package(Python COMPONENTS Development.Module REQUIRED)
endif()

message(STATUS "Python_INCLUDE_DIRS: ${Python_INCLUDE_DIRS}")

file(GLOB_RECURSE SRC_FILES src/*.cc)

include_directories(include ${Python_INCLUDE_DIRS})
Expand Down

0 comments on commit 608da11

Please sign in to comment.