root/sandbox/sigis/christian.gonzalez/trunk/cmake/PlatformSpecific.cmake
Revision 43, 388 bytes (checked in by anton, 3 years ago) |
---|
Line | |
---|---|
1 | # Since Visual Studio 2005, you get a bunch of warnings when using |
2 | # strncpy. Make it quiet ! |
3 | IF(WIN32) |
4 | ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE) |
5 | ENDIF(WIN32) |
6 | |
7 | # Use this on platforms where dlopen() is in -ldl |
8 | IF (HAVE_LDL) |
9 | SET(EXTRA_LIBS "dl") |
10 | ENDIF (HAVE_LDL) |
11 | |
12 | IF (CMAKE_COMPILER_IS_GNUCC) |
13 | SET(CMAKE_C_FLAGS_DEBUG "-Wall ${CMAKE_C_FLAGS_DEBUG}") |
14 | ENDIF (CMAKE_COMPILER_IS_GNUCC) |
Note: See TracBrowser
for help on using the browser.