Skip to content

Commit

Permalink
fix: CMake set_target_properties VERSION (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
BA7LYA committed Sep 11, 2023
1 parent f6561a4 commit 242f616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casbin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ target_link_libraries(casbin PRIVATE nlohmann_json::nlohmann_json)

set_target_properties(casbin PROPERTIES
PREFIX ""
VERSION ${CMAKE_PROJECT_VERSION}
VERSION ${PROJECT_VERSION}
)

if(WIN32 OR MSVC)
Expand Down

0 comments on commit 242f616

Please sign in to comment.