Am Mittwoch, 2. Mai 2012, 14:48:23 schrieb Charlie Sharpsteen:
> This is observed OS X 10.6.8, XCode 4.2.6 and 10.7.3, XCode 4.3 with CMake
> 2.8.8. Say I have the following CMakeLists.txt:
>
> PROJECT(find_tst)
> CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
>
> MESSAGE(STATUS "Value of CMAKE_FIND_FRAMEWORK: ${CMAKE_FIND_FRAMEWORK}")
>
>
> Why does CMAKE_FIND_FRAMEWORK end up with a value of FIRST even though I
> pass -DCMAKE_FIND_FRAMEWORK=LAST when configuring?
>
> grendel:build sharpie$ cmake .. -DCMAKE_FIND_FRAMEWORK=LASTBecause those value is set in the Darwin platform file (Modules/Platform/Darwin.cmake) which is taken into account by the PROJECT() call. So this is just overridden. Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
