From 15973dcf82c95ca05a4d76bd69785df2679876d6 Mon Sep 17 00:00:00 2001 From: Awais Belal Date: Thu, 1 Sep 2016 13:27:50 +0500 Subject: [PATCH] obey CMAKE_INSTALL_PREFIX Unsetting CMAKE_INSTALL_PREFIX breaks relative installation paths. The recent updates to cmake.bbclass requires using the installation prefix to allow installing to correct hierarchy under yocto environment. Signed-off-by: Awais Belal --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 263002e..a0d3baa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,8 +57,6 @@ if(NOT WIN32) include(FindPkgConfig) endif() -set (CMAKE_INSTALL_PREFIX "") - if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") set(COMMON_COMPILE_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers") set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -fno-strict-aliasing -fno-builtin-memcmp") -- 1.9.1