the global variable. Best to add the CACHE keyword etc in your
> set statement, then there’ll be only 1 variable.
>
>
>
> Kris
>
>
>
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Chris Johnson
> Sent: 27 December 2016 23:27
> To: cmake@cmake.org
gt;
> Kris
>
>
>
> *From:* CMake [mailto:cmake-boun...@cmake.org] *On Behalf Of *Chris
> Johnson
> *Sent:* 27 December 2016 23:27
> *To:* cmake@cmake.org
> *Subject:* [CMake] Install destination problem
>
>
>
> In all of my CMakeLists.txt files,
December 2016 23:27
To: cmake@cmake.org
Subject: [CMake] Install destination problem
In all of my CMakeLists.txt files, I include a settings file, like so:
include(global_settings.cmake)
Inside global_settings.cmake, I have a line like this:
set( CMAKE_INSTALL_PREFIX
In all of my CMakeLists.txt files, I include a settings file, like so:
include(global_settings.cmake)
Inside global_settings.cmake, I have a line like this:
set( CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install )
When I run "make install" on my development system, the files are correctly
instal