root/sandbox/sigis/christian.gonzalez/trunk/cmake/PlatformSpecific.cmake

Revision 43, 388 bytes (checked in by anton, 3 years ago)

trunk replaced with 1.0RC1

Line 
1# Since Visual Studio 2005, you get a bunch of warnings when using
2# strncpy. Make it quiet !
3IF(WIN32)
4  ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
5ENDIF(WIN32)
6
7# Use this on platforms where dlopen() is in -ldl
8IF (HAVE_LDL)
9  SET(EXTRA_LIBS "dl")
10ENDIF (HAVE_LDL)
11
12IF (CMAKE_COMPILER_IS_GNUCC)
13  SET(CMAKE_C_FLAGS_DEBUG "-Wall ${CMAKE_C_FLAGS_DEBUG}")
14ENDIF (CMAKE_COMPILER_IS_GNUCC)
Note: See TracBrowser for help on using the browser.