misc/physfs/extras/CMakeLists.txt
changeset 8072 c803d89ae74d
parent 8052 845b5ae03841
equal deleted inserted replaced
8071:7d6aaba59505 8072:c803d89ae74d
     1 find_package(SDL REQUIRED)
     1 find_package(SDL REQUIRED)
     2 
     2 
     3 include_directories(${SDL_INCLUDE_DIR})
     3 include_directories(${SDL_INCLUDE_DIR})
     4 include_directories(${CMAKE_SOURCE_DIR}/misc/liblua)
     4 include_directories(${LUA_INCLUDE_DIR})
     5 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
     5 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
     6 
     6 
     7 add_library(physfsrwops STATIC physfsrwops.c physfslualoader.c hwpacksmounter.c)
     7 add_library(physfsrwops STATIC physfsrwops.c physfslualoader.c hwpacksmounter.c)
     8 
     8 
     9 add_dependencies(physfsrwops lua)