[Orxonox-commit 2819] r7522 - code/branches/ois_update/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Oct 11 12:36:19 CEST 2010
Author: rgrieder
Date: 2010-10-11 12:36:19 +0200 (Mon, 11 Oct 2010)
New Revision: 7522
Modified:
code/branches/ois_update/cmake/CompilerConfigGCC.cmake
Log:
Build fixes for code written on Windows
Modified: code/branches/ois_update/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/branches/ois_update/cmake/CompilerConfigGCC.cmake 2010-10-11 10:32:23 UTC (rev 7521)
+++ code/branches/ois_update/cmake/CompilerConfigGCC.cmake 2010-10-11 10:36:19 UTC (rev 7522)
@@ -81,10 +81,10 @@
IF(_gcc_have_visibility)
# Note: There is a possible bug with the flag in gcc < 4.2 and Debug versions
COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.2.0" _compare_result)
- IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR _compare_result SMALLER GREATER -1)
+ IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR _compare_result GREATER -1)
ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden" CACHE)
ENDIF()
- ENDIF(_have_gcc_visibility)
+ ENDIF(_gcc_have_visibility)
ENDIF(NOT MINGW)
# We have some unconformant code, disable an optimisation feature
More information about the Orxonox-commit
mailing list