diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-11 19:59:01 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-11 19:59:01 +0000 |
commit | 3bac1f9c6c02cbe30f4fbed37366482fcc687e03 (patch) | |
tree | 3549fe136d4843db1856c190060d73dc7325ef4f /cmake/src/lib/JEDI-SDL/SDL | |
parent | 17deba0bcda7f39696bad713bc2c0bc49ec4fb59 (diff) | |
download | usdx-3bac1f9c6c02cbe30f4fbed37366482fcc687e03.tar.gz usdx-3bac1f9c6c02cbe30f4fbed37366482fcc687e03.tar.xz usdx-3bac1f9c6c02cbe30f4fbed37366482fcc687e03.zip |
- Package flags (FLAGS / LIBRARY_FLAGS)
- -k"-U sdl_main" for Mac OS X defined as SDL package LIBRARY_FLAG
- plugins moved to game/plugins
- BUILD_PLUGINS option added to disable plugin creation (if linking of libraries fails)
- PASCAL_FLAGS_... added
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1722 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'cmake/src/lib/JEDI-SDL/SDL')
-rw-r--r-- | cmake/src/lib/JEDI-SDL/SDL/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/src/lib/JEDI-SDL/SDL/CMakeLists.txt b/cmake/src/lib/JEDI-SDL/SDL/CMakeLists.txt index 69c63d0a..543300c7 100644 --- a/cmake/src/lib/JEDI-SDL/SDL/CMakeLists.txt +++ b/cmake/src/lib/JEDI-SDL/SDL/CMakeLists.txt @@ -1,6 +1,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} ) |