From 75c0e78bd1214e5a62115ca4f4692287e238d954 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 9 Jul 2018 16:56:51 +0200 Subject: Correctly set the install prefix using CMake. Change-Id: I9b3404c3639c2b8aa3f73cb639a10da2398c1a85 Signed-off-by: Romain Forlot --- CMakeLists.txt | 2 +- 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 # ----------------------------- -- cgit 1.2.3-korg