Changed: CMake compilation checks with STLport under Windows

This commit is contained in:
kervala 2011-01-22 13:27:40 +01:00
parent 786caf50df
commit c49add86c8

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)
###