Re: [CMake] Install destination problem

2016-12-28 Thread Michael Ellery
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

Re: [CMake] Install destination problem

2016-12-28 Thread Chris Johnson
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,

Re: [CMake] Install destination problem

2016-12-28 Thread Kris Thielemans
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

[CMake] Install destination problem

2016-12-27 Thread Chris Johnson
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