Changed: CMake compilation checks with STLport under Windows

This commit is contained in:
kervala 2011-01-22 13:27:40 +01:00
parent b6a6b540ed
commit fa5a0692af

View file

@ -48,10 +48,9 @@ MACRO(NL_DEFAULT_PROPS name label)
SET_TARGET_PROPERTIES(${name} PROPERTIES
PROJECT_LABEL ${label})
ENDIF(${type} STREQUAL SHARED_LIBRARY)
IF(WITH_STLPORT)
IF(WITH_STLPORT AND WIN32)
SET_TARGET_PROPERTIES(${name} PROPERTIES COMPILE_FLAGS "/X")
ENDIF(WITH_STLPORT)
ENDIF(WITH_STLPORT AND WIN32)
ENDMACRO(NL_DEFAULT_PROPS)
###