Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-30 Thread Charlie Sharpsteen
David Cole wrote On Tue, May 29, 2012 at 2:33 PM, Charlie Sharpsteen lt;chuck@gt;wrote: So, is there any reason `IF(NOT DEFINED CMAKE_FIND_FRAMEWORK)` cannot be used in the platform file to protect command line arguments? I can't think of a good reason not to use that construct.

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-29 Thread Charlie Sharpsteen
Charlie Sharpsteen wrote Rolf Eike Beer wrote Because 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 Any reason those definitions can't be protected by `IF(NOT

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-29 Thread David Cole
On Tue, May 29, 2012 at 2:33 PM, Charlie Sharpsteen ch...@sharpsteen.netwrote: Charlie Sharpsteen wrote Rolf Eike Beer wrote Because 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

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-03 Thread Rolf Eike Beer
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

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-03 Thread Charlie Sharpsteen
Rolf Eike Beer wrote Because 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 Any reason those definitions can't be protected by `IF(NOT DEFINED CMAKE_FIND_FRAMEWORK)`?

[CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-02 Thread 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