aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-09 10:42:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-09 10:43:22 +0200
commitd5323f98b73853f0a16d8361d9724c0ec9bafc0f (patch)
tree8cc6c3ffd293099b08802ce4010470c1bb9bbd13
parenta487927e6cf084083eed7b25ca962aff9aeaf420 (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>
-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")