Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 395189
Collapse All | Expand All

(-)FindSDL_sound2.cmake (-2 / +1 lines)
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})"

Return to bug 395189