X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=cmake%2Fcmake.d%2F01-build_options.cmake;h=84649fc3efdabf18dea90dc5ac84100dd362dc29;hb=37d062dd381e1c35014e1c4209eb05a734608aa4;hp=4fb10ef778c0901ccd515e43ceac0ed6a2f78d52;hpb=90f7727a83baa15701e3ad1a83cb12a14346b13b;p=apps%2Fapp-templates.git diff --git a/cmake/cmake.d/01-build_options.cmake b/cmake/cmake.d/01-build_options.cmake index 4fb10ef..84649fc 100644 --- a/cmake/cmake.d/01-build_options.cmake +++ b/cmake/cmake.d/01-build_options.cmake @@ -76,12 +76,15 @@ foreach(option ${RELEASE_COMPILE_OPTIONS}) endforeach() # Env variable overload default -if(DEFINED ENV{INSTALL_PREFIX}) - set(INSTALL_PREFIX $ENV{INSTALL_PREFIX} CACHE PATH "The path where to install") -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") +# Disabled by default now. Tell me if you need really it +# but you should not have needs for that since you can +# set CMAKE_INSTALL_PREFIX in your config.cmake. +#if(DEFINED ENV{INSTALL_PREFIX}) +# set(INSTALL_PREFIX $ENV{INSTALL_PREFIX} CACHE PATH "The path where to install") +#else() +# set(INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/Install" CACHE PATH "The path where to install") +#endif() +#set(CMAKE_INSTALL_PREFIX ${INSTALL_PREFIX} CACHE PATH "Installation Prefix") # Loop on required package and add options foreach (PKG_CONFIG ${PKG_REQUIRED_LIST})