File: PlatformSpecific.cmake

package info (click to toggle)
pgrouting 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,232 kB
  • ctags: 1,566
  • sloc: cpp: 74,626; ansic: 6,036; sql: 2,889; sh: 635; perl: 523; makefile: 67
file content (14 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Since Visual Studio 2005, you get a bunch of warnings when using
# strncpy. Make it quiet !
IF(WIN32)
  ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
ENDIF(WIN32)

# Use this on platforms where dlopen() is in -ldl
IF (HAVE_LDL)
  SET(EXTRA_LIBS "dl")
ENDIF (HAVE_LDL)

IF (CMAKE_COMPILER_IS_GNUCC)
  SET(CMAKE_C_FLAGS_DEBUG "-Wall ${CMAKE_C_FLAGS_DEBUG}")
ENDIF (CMAKE_COMPILER_IS_GNUCC)