[CMake] set CMAKE_INSTALL_PREFIX in CMakeLists
Michael Wild
themiwi at gmail.com
Tue Nov 23 09:01:31 EST 2010
On 11/23/2010 02:33 PM, Micha Renner wrote:
> Am Dienstag, den 23.11.2010, 14:01 +0100 schrieb tomasoni at sbc.su.se:
>> Dear Cmake users,
>>
>> 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
>> SET(CMAKE_INSTALL_PREFIX, "my/path")
> ^
> No comma!
>
> greetings
> Micha
And *NEVER EVER* set CMAKE_INSTALL_PREFIX in your CMakeLists.txt file.
That is a user-setting and you will make people angry at you if you
override their choice in your code.
Michael
More information about the CMake
mailing list