equal
deleted
inserted
replaced
121 if(NOT BUILD_ENGINE_LIBRARY) |
121 if(NOT BUILD_ENGINE_LIBRARY) |
122 add_subdirectory(sdlmain) |
122 add_subdirectory(sdlmain) |
123 list(APPEND HW_LINK_LIBS SDLmain) |
123 list(APPEND HW_LINK_LIBS SDLmain) |
124 add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH}) |
124 add_flag_append(CMAKE_Pascal_FLAGS -Fl${LIBRARY_OUTPUT_PATH}) |
125 endif() |
125 endif() |
126 |
|
127 #when sysroot is set, make sure that fpc picks it |
|
128 if(CMAKE_OSX_SYSROOT) |
|
129 set(add_flag_append "-XD${CMAKE_OSX_SYSROOT}") |
|
130 endif(CMAKE_OSX_SYSROOT) |
|
131 endif(APPLE) |
126 endif(APPLE) |
132 |
127 |
133 if(FFMPEG_FOUND) |
128 if(FFMPEG_FOUND) |
134 add_subdirectory(avwrapper) |
129 add_subdirectory(avwrapper) |
135 list(APPEND HW_LINK_LIBS avwrapper) |
130 list(APPEND HW_LINK_LIBS avwrapper) |