Skip to content

Commit 3b3681b

Browse files
committed
Don't commit the value of CMAKE_INSTALL_PREFIX to the cache repeatedly
1 parent 0fc5112 commit 3b3681b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ SET(LIB_SUFFIX "" CACHE STRING "Optional arch-dependent suffix for the library i
2828

2929
SET(RUNTIME_INSTALL_DIR bin
3030
CACHE PATH "Install dir for executables and dlls")
31-
SET(ARCHIVE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
31+
SET(ARCHIVE_INSTALL_DIR lib${LIB_SUFFIX}
3232
CACHE PATH "Install dir for static libraries")
33-
SET(LIBRARY_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
33+
SET(LIBRARY_INSTALL_DIR lib${LIB_SUFFIX}
3434
CACHE PATH "Install dir for shared libraries")
35-
SET(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include/jsoncpp
35+
SET(INCLUDE_INSTALL_DIR include/jsoncpp
3636
CACHE PATH "Install dir for headers")
3737
SET(PACKAGE_INSTALL_DIR lib${LIB_SUFFIX}/cmake
3838
CACHE PATH "Install dir for cmake package config files")

0 commit comments

Comments
 (0)