[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi CMakeLists.txt
From: |
CERTI CVS commits |
Subject: |
[certi-cvs] certi CMakeLists.txt |
Date: |
Mon, 26 Sep 2011 20:24:28 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 11/09/26 20:24:28
Modified files:
. : CMakeLists.txt
Log message:
Avoid MinGW warning about visibility.
Merge patch #7624 from Jan-Patrick Osterloh
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/CMakeLists.txt?cvsroot=certi&r1=1.105&r2=1.106
Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/CMakeLists.txt,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -b -r1.105 -r1.106
--- CMakeLists.txt 14 Sep 2011 20:32:58 -0000 1.105
+++ CMakeLists.txt 26 Sep 2011 20:24:27 -0000 1.106
@@ -126,12 +126,16 @@
# see http://www.cmake.org/Wiki/CMake:Eclipse
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fmessage-length=0")
+ IF(NOT MINGW)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
+ ENDIF(NOT MINGW)
ENDIF(CMAKE_COMPILER_IS_GNUCC)
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fmessage-length=0")
+ IF(NOT MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
+ ENDIF(NOT MINGW)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
# Enforce strict ANSI C/C++ compliance checking
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi CMakeLists.txt,
CERTI CVS commits <=