misc/physfs/extras/CMakeLists.txt
author koda
Tue, 20 Nov 2012 17:50:17 +0100
changeset 8072 c803d89ae74d
parent 8052 845b5ae03841
permissions -rw-r--r--
use lua headers correctly
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     1
find_package(SDL REQUIRED)
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     2
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     3
include_directories(${SDL_INCLUDE_DIR})
8072
c803d89ae74d use lua headers correctly
koda
parents: 8052
diff changeset
     4
include_directories(${LUA_INCLUDE_DIR})
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     5
include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     6
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents: 8043
diff changeset
     7
add_library(physfsrwops STATIC physfsrwops.c physfslualoader.c hwpacksmounter.c)
8043
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 8037
diff changeset
     8