Win64: Enable OpenAL for cmake + win64
authorDaniel Genrich <daniel.genrich@gmx.net>
Mon, 22 Feb 2010 23:34:45 +0000 (23:34 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Mon, 22 Feb 2010 23:34:45 +0000 (23:34 +0000)
CMakeLists.txt

index 704e7be7b3a9c06e9e503782dbd33b6e1c844b39..35730af3f4f8f90a0cf4d099b2022328bcd0cfa3 100644 (file)
@@ -276,15 +276,10 @@ IF(WIN32)
        SET(PYTHON_LIB python31)
        SET(PYTHON_LIBPATH ${PYTHON}/lib)
 
-       IF(CMAKE_CL_64)
-               SET(WITH_OPENAL OFF)
-       ELSE(CMAKE_CL_64)
-               #SET(WITH_OPENAL ON)
-               SET(OPENAL ${LIBDIR}/openal)
-               SET(OPENAL_INCLUDE_DIR ${OPENAL}/include)
-               SET(OPENAL_LIBRARY wrap_oal)
-               SET(OPENAL_LIBPATH ${OPENAL}/lib)
-       ENDIF(CMAKE_CL_64)
+       SET(OPENAL ${LIBDIR}/openal)
+       SET(OPENAL_INCLUDE_DIR ${OPENAL}/include)
+       SET(OPENAL_LIBRARY wrap_oal)
+       SET(OPENAL_LIBPATH ${OPENAL}/lib)
 
        IF(WITH_JACK)
                SET(JACK ${LIBDIR}/jack)
@@ -689,4 +684,3 @@ ADD_SUBDIRECTORY(source/creator)
 IF(WITH_PLAYER)
        ADD_SUBDIRECTORY(source/blenderplayer)
 ENDIF(WITH_PLAYER)
-