misc/libphyslayer/CMakeLists.txt
branchsdl2transition
changeset 9703 966d180184b4
parent 9679 dfaa39674e1e
child 11362 ed5a6478e710
--- a/misc/libphyslayer/CMakeLists.txt	Mon Nov 11 00:15:20 2013 +0400
+++ b/misc/libphyslayer/CMakeLists.txt	Fri Dec 06 00:02:10 2013 +0100
@@ -1,12 +1,12 @@
 
-if(${USESDL12})
+if(${NOSDL2})
     find_package(SDL REQUIRED)
     include_directories(${SDL_INCLUDE_DIR})
-else(${USESDL12})
+else(${NOSDL2})
     find_package(SDL2 REQUIRED)
     include_directories(${SDL2_INCLUDE_DIR})
     set(SDL_LIBRARY ${SDL2_LIBRARY})
-endif(${USESDL12})
+endif(${NOSDL2})
 
 include_directories(${PHYSFS_INCLUDE_DIR})
 include_directories(${LUA_INCLUDE_DIR})