CMake: Fix reqular expression message on Windows from Apple framework detection by...
authorJacques Beuarain <jacques.beaurain@gmail.com>
Wed, 13 Dec 2006 12:27:11 +0000 (12:27 +0000)
committerJacques Beuarain <jacques.beaurain@gmail.com>
Wed, 13 Dec 2006 12:27:11 +0000 (12:27 +0000)
intern/SoundSystem/CMakeLists.txt

index 080c5b945e1f22b7d286c3ca414b8473fe1780dc..428b8db01ee00c1839cf3cdb328941ed9abfff1b 100644 (file)
@@ -32,7 +32,7 @@ SET(INC . intern ../moto/include ../string dummy openal sdl)
 IF(WITH_OPENAL)
   FILE(GLOB SRC dummy/*.cpp intern/*.cpp openal/*.cpp sdl/*.cpp)
   INCLUDE_DIRECTORIES(${OPENAL_INC} ${SDL_INC})
-  STRING(REGEX MATCH ".*ramework.*" FRAMEWORK ${OPENAL_INCLUDE_DIR})
+  STRING(REGEX MATCH ".*ramework.*" FRAMEWORK ${OPENAL_INC})
   IF(FRAMEWORK)
     ADD_DEFINITIONS(-DAPPLE_FRAMEWORK_FIX)
   ENDIF(FRAMEWORK)