diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-09 16:56:51 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-10 17:12:30 +0200 |
commit | 75c0e78bd1214e5a62115ca4f4692287e238d954 (patch) | |
tree | 3fbd9050898ad7cd521feef1ea6fcfac18d88592 | |
parent | a5570afd54b55a78c546ab861650b7da9f919ce9 (diff) |
Correctly set the install prefix using CMake.
Change-Id: I9b3404c3639c2b8aa3f73cb639a10da2398c1a85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | conf.d/cmake/config.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bcc751b..6f19ba5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,6 @@ # limitations under the License. ########################################################################### -CMAKE_MINIMUM_REQUIRED(VERSION 3.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.7) include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake) diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 16336ed..74a1b93 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -76,7 +76,7 @@ set (PKG_REQUIRED_LIST # Prefix path where will be installed the files # Default: /usr/local (need root permission to write in) # ------------------------------------------------------ -set(CMAKE_INSTALL_PREFIX /opt/AGL CACHE PATH "INSTALL PREFIX PATH") +set(INSTALL_PREFIX /opt/AGL CACHE PATH "INSTALL PREFIX PATH") # Customize link option # ----------------------------- |