Skip to content

Commit 242f616

Browse files
authored
fix: CMake set_target_properties VERSION (#237)
1 parent f6561a4 commit 242f616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

casbin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ target_link_libraries(casbin PRIVATE nlohmann_json::nlohmann_json)
7878

7979
set_target_properties(casbin PROPERTIES
8080
PREFIX ""
81-
VERSION ${CMAKE_PROJECT_VERSION}
81+
VERSION ${PROJECT_VERSION}
8282
)
8383

8484
if(WIN32 OR MSVC)

0 commit comments

Comments
 (0)