misc/libphyslayer/CMakeLists.txt
branchsdl2transition
changeset 9679 dfaa39674e1e
parent 9677 71626318f80e
child 9703 966d180184b4
equal deleted inserted replaced
9677:71626318f80e 9679:dfaa39674e1e
     3     find_package(SDL REQUIRED)
     3     find_package(SDL REQUIRED)
     4     include_directories(${SDL_INCLUDE_DIR})
     4     include_directories(${SDL_INCLUDE_DIR})
     5 else(${USESDL12})
     5 else(${USESDL12})
     6     find_package(SDL2 REQUIRED)
     6     find_package(SDL2 REQUIRED)
     7     include_directories(${SDL2_INCLUDE_DIR})
     7     include_directories(${SDL2_INCLUDE_DIR})
       
     8     set(SDL_LIBRARY ${SDL2_LIBRARY})
     8 endif(${USESDL12})
     9 endif(${USESDL12})
     9 
    10 
    10 include_directories(${PHYSFS_INCLUDE_DIR})
    11 include_directories(${PHYSFS_INCLUDE_DIR})
    11 include_directories(${LUA_INCLUDE_DIR})
    12 include_directories(${LUA_INCLUDE_DIR})
    12 
    13