CMake: changed cached bools into "option"

This commit is contained in:
abma
2014-08-17 23:10:06 +02:00
parent 0ede630b10
commit aafc8d5f3f
2 changed files with 15 additions and 10 deletions

View File

@@ -623,7 +623,7 @@ SOURCE_GROUP( unzip FILES ${unzip_SRCS})
# VC2010 fixes
if(MSVC10)
OPTION( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF )
option( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF )
if( VC10_STDINT_FIX )
ADD_DEFINITIONS( -D_STDINT )
endif( VC10_STDINT_FIX )