Re: [CMake] Not hardcoding install dir in Config.cmake.

2015-02-08 Thread Stephen Kelly
Chris Dembia wrote: > Hey all: > > I work on a project that is used heavily on Windows. Our project also > creates a Config.cmake file. During build time, we do not know where the > project will actually be installed on the user's system. However, the > Config.file needs to know the installation

Re: [CMake] Not hardcoding install dir in Config.cmake.

2015-02-08 Thread felix
have you tried CMakePackageConfigHelpers. Works great and if I understand your email right then it is exactly for that purpose. -- View this message in context: http://cmake.3232098.n2.nabble.com/Not-hardcoding-install-dir-in-Config-cmake-tp7589723p7589724.html Sent from the CMake mailing list

[CMake] Not hardcoding install dir in Config.cmake.

2015-02-08 Thread Chris Dembia
Hey all: I work on a project that is used heavily on Windows. Our project also creates a Config.cmake file. During build time, we do not know where the project will actually be installed on the user's system. However, the Config.file needs to know the installation directory of the package. Previou