Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Apr 4, 2024
1 parent 221ccb8 commit 5ea5035
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
# Cmake creates *.dylib by default, but python expects *.so by default
if (APPLE)
set_property(TARGET ${PROJECT_NAME} PROPERTY SUFFIX .so)
elseif (MSVC)
set_property(TARGET ${PROJECT_NAME} PROPERTY SUFFIX .pyd)
endif()

0 comments on commit 5ea5035

Please sign in to comment.