Re: [CMake] CMAKE_INSTALL_PREFIX not working in Visual Studio

2008-10-20 Thread David Cole
How are you configuring? With a CMake GUI or a command line tool? If with a gui, set the CMAKE_INSTALL_PREFIX in the gui. If with a command line tool, pass -DCMAKE_INSTALL_PREFIX:STRING=/blah on the command line. To workaround this entirely, invent your own CMake variable that CMake knows nothing

[CMake] CMAKE_INSTALL_PREFIX not working in Visual Studio

2008-10-18 Thread Sam Baker
In my project file I have near the top of the file, the line: set(CMAKE_INSTALL_PREFIX ${APP_INSTALL_DIR}/MyApp) Which I thought would force all install destinations to be relative to that directory. Later in the same CMakeLists.txt file, I have some install commands: INSTALL(TARGETS My