Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
MAminSFV committed Sep 12, 2024
1 parent 11c6835 commit 5f19fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ target_link_libraries(drake_extension_ext PUBLIC pybind11::headers drake::drake)
set_target_properties(drake_extension_ext PROPERTIES CXX_VISIBILITY_PRESET default)

# This is passing in the version as a define just as an example
target_compile_definitions(_core PRIVATE VERSION_INFO=${PROJECT_VERSION})
target_compile_definitions(drake_extension_ext PRIVATE VERSION_INFO=${PROJECT_VERSION})

# Install directive for scikit-build-core
install(TARGETS drake_extension_ext LIBRARY DESTINATION drake_extension)

0 comments on commit 5f19fe9

Please sign in to comment.