summaryrefslogtreecommitdiffstats
path: root/cmake/common.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-09 10:42:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit44ae8512e77f5e9becbd7fcf0935037f65d6d5ab (patch)
treedbdebe06121bcc2ae4f6073408e46dcaa4cbecbf /cmake/common.cmake
parent5b44c68f96034f9973b0e030958425270466099e (diff)
Fix: cli CMAKE_INSTALL_PREFIX variable ignored
Don't overwrite CMAKE_INSTALL_PREFIX Change-Id: Ie4b0a6dde2b59fee6704369b6fe66a1390c4a092 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/common.cmake')
-rw-r--r--cmake/common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index 03c7b30..941e721 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -323,7 +323,7 @@ if(DEFINED ENV{INSTALL_PREFIX})
else()
set(INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/Install" CACHE PATH "The path where to install")
endif()
-set(CMAKE_INSTALL_PREFIX ${INSTALL_PREFIX} CACHE STRING "Installation Prefix" FORCE)
+set(CMAKE_INSTALL_PREFIX ${INSTALL_PREFIX} CACHE STRING "Installation Prefix")
# (BUG!!!) as PKG_CONFIG_PATH does not work [should be en env variable]
set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON CACHE BOOLEAN "Flag for using prefix path")