Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
build: Add target properties for cjson library on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Antares0982 committed Apr 27, 2024
1 parent ba57cf3 commit 46c28e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ endif(APPLE)
if (MSVC)
target_compile_options(cjson PUBLIC /std:c++17 /std:c17)
endif(MSVC)
if(WIN32)
set_target_properties(cjson PROPERTIES SUFFIX ".pyd")
endif(WIN32)

0 comments on commit 46c28e1

Please sign in to comment.