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

Charlie Sharpsteen chuck at sharpsteen.net
Thu May 3 15:06:23 EDT 2012


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)`? If I can't override the default from the command
line, it seems like the only recourse is to maintain patches for every
project I am trying to build with CMake--a very messy and fragile solution.

-Charlie

--
View this message in context: http://cmake.3232098.n2.nabble.com/Why-does-CMAKE-FIND-FRAMEWORK-always-default-to-FIRST-ignoring-command-line-definitions-tp7521759p7524847.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list