Changeset 7522 for code/branches/ois_update/cmake
- Timestamp:
- Oct 11, 2010, 12:36:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/cmake/CompilerConfigGCC.cmake
r7520 r7522 82 82 # Note: There is a possible bug with the flag in gcc < 4.2 and Debug versions 83 83 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.2.0" _compare_result) 84 IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR _compare_result SMALLERGREATER -1)84 IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR _compare_result GREATER -1) 85 85 ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden" CACHE) 86 86 ENDIF() 87 ENDIF(_ have_gcc_visibility)87 ENDIF(_gcc_have_visibility) 88 88 ENDIF(NOT MINGW) 89 89
Note: See TracChangeset
for help on using the changeset viewer.