[CMake] non-set-able variables
    Tyler Roscoe 
    tyler at cryptio.net
       
    Mon Nov 30 12:42:00 EST 2009
    
    
  
On Tue, Nov 24, 2009 at 04:15:19PM -0600, Voisard, Shane S CIV NSWCDD, K54 wrote:
> set (CMAKE_CONFIGURATION_TYPES "Release" CACHE STRING "" FORCE)
> 
> I tried this alternative, with no effect, based upon online 2.6 documentation:
> 
> set (CMAKE_CONFIGURATION_TYPES "Release" CACHE INTERNAL "" FORCE)
I can't say if this is a bug or how good your other ideas are, but some
possible workarounds:
- did you delete your cache and let the CMake run by your script
  recreate it?
- during your first call to CMake, have you tried using
  -DCMAKE_CONFIGURATION_TYPES="Release"?
tyler
    
    
More information about the CMake
mailing list