casbin-cpp
casbin-cpp copied to clipboard
set_target_properties called with incorrect number of arguments
Description
This error occurred when I tried to run a CMake project including casbin-cpp on Visual Studio2019. It seems that set_target_properties didn't recognize it after PREFIX was set to empty character, which caused incorrect number of arguments. Is this a bug that needs to be fixed?
My System Info
Windows 10, cmake version 3.24.0-rc2
Screenshots
The CMakeLists.txt of project:

The error message:

The place where the error occurred:

@EmperorYP7 @divy9881 @noob20000405 @sheny1xuan
@sheny1xuan
Of course, casbin-cpp support three platform, you can try to fix it.
Fixed by: https://github.com/casbin/casbin-cpp/pull/237