Lines 187-194
Link Here
|
187 |
# in the SDL_LIBRARY string after the "-framework". |
187 |
# in the SDL_LIBRARY string after the "-framework". |
188 |
# But if I quote the stuff in INCLUDE_DIRECTORIES, it doesn't work. |
188 |
# But if I quote the stuff in INCLUDE_DIRECTORIES, it doesn't work. |
189 |
FILE(WRITE ${PROJECT_BINARY_DIR}/CMakeTmp/CMakeLists.txt |
189 |
FILE(WRITE ${PROJECT_BINARY_DIR}/CMakeTmp/CMakeLists.txt |
190 |
"CMAKE_MINIMUM_REQUIRED(VERSION 2.8) |
190 |
"PROJECT(DetermineSoundLibs) |
191 |
PROJECT(DetermineSoundLibs) |
|
|
192 |
INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR}) |
191 |
INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR}) |
193 |
ADD_EXECUTABLE(DetermineSoundLibs DetermineSoundLibs.c) |
192 |
ADD_EXECUTABLE(DetermineSoundLibs DetermineSoundLibs.c) |
194 |
TARGET_LINK_LIBRARIES(DetermineSoundLibs ${TMP_TRY_LIBS})" |
193 |
TARGET_LINK_LIBRARIES(DetermineSoundLibs ${TMP_TRY_LIBS})" |