Changeset 7526
- Timestamp:
- Oct 11, 2010, 11:17:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/cmake/CompilerConfigGCC.cmake
r7524 r7526 77 77 #ENDIF() 78 78 79 IF( FALSE ANDNOT MINGW)79 IF(NOT MINGW) 80 80 # Have GCC visibility? 81 81 CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" _gcc_have_visibility) … … 84 84 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.2.0" _compare_result) 85 85 IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR _compare_result GREATER -1) 86 ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility= hidden-fvisibility-inlines-hidden" CACHE)86 ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility=default -fvisibility-inlines-hidden" CACHE) 87 87 ENDIF() 88 88 ENDIF(_gcc_have_visibility) 89 ENDIF( FALSE AND NOT MINGW)89 ENDIF() 90 90 91 91 # We have some unconformant code, disable an optimisation feature
Note: See TracChangeset
for help on using the changeset viewer.