diff --git a/CMakeLists.txt b/CMakeLists.txt index 01752fc1..0392f5dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ if(CASBIN_INSTALL) export( TARGETS casbin NAMESPACE casbin:: - FILE casbinTargets.cmake + FILE casbinConfig.cmake ) # Installing headers diff --git a/README.md b/README.md index 79513761..ff009fc0 100644 --- a/README.md +++ b/README.md @@ -249,9 +249,9 @@ You may integrate casbin into your CMake project through `find_package`. cmake --build . --target install ``` - - For **Windows**, this will install `casbin.lib` to `C:/Program Files/casbin/lib` + - For **Windows**, this will install `casbin.lib` to `/casbin-cpp/build/casbin` and the headers to `C:/Program Files/casbin/include`. - - For Unix based OS i.e. **Linux and macOS**, this will install `casbin.a` to `usr/local/lib` + - For Unix based OS i.e. **Linux and macOS**, this will install `casbin.a` to `/casbin-cpp/build/casbin` and the headers to `usr/local/include`. You can add the respective include and lib paths