From c49add86c8b0b807f97db6093584e7af256b8dcf Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 22 Jan 2011 13:27:40 +0100 Subject: [PATCH] Changed: CMake compilation checks with STLport under Windows --- code/CMakeModules/nel.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 74442086b..04d565c76 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -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) ###