aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/src/lib/JEDI-SDL/SDL/CMakeLists.txt
blob: 543300c783e526aee3624d85a02124dfae451bd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $URL$
# $Id$

# Flags for the treatment of a linker issue with SDL on Mac OS X.
# Symbol _SDK_main is undefined
set(fpc_lib_flags)
if(APPLE)
  set(fpc_lib_flags -k\"-U _SDL_main\")
endif(APPLE)

pascal_add_package(sdl
  UNITS Pas/*.pas
  INCLUDES Pas/*.inc
  FPC_LIBRARY_FLAGS ${fpc_lib_flags}
)