From 242f616cceede42400095bc1c9f6e28b4b9ecd03 Mon Sep 17 00:00:00 2001 From: BA7LYA <1042140025@qq.com> Date: Tue, 12 Sep 2023 02:28:28 +0800 Subject: [PATCH] fix: CMake set_target_properties VERSION (#237) --- casbin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casbin/CMakeLists.txt b/casbin/CMakeLists.txt index 375e7ab0..5926452c 100644 --- a/casbin/CMakeLists.txt +++ b/casbin/CMakeLists.txt @@ -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)