Skip to content

Commit

Permalink
cmake: use MODULE for Python lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent authored and jorisv committed Nov 22, 2023
1 parent 89fcd20 commit 261ec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include("${JRL_CMAKE_MODULES}/stubs.cmake")
add_custom_target(python)
set_target_properties(python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True)

add_library(${PYWRAP} SHARED main.cpp)
add_library(${PYWRAP} MODULE main.cpp)
add_dependencies(python ${PYWRAP})
target_link_libraries(${PYWRAP} PUBLIC ${PROJECT_NAME})

Expand Down

0 comments on commit 261ec8d

Please sign in to comment.