misc/physfs/extras/CMakeLists.txt
author unc0rr
Sat, 17 Nov 2012 00:41:30 +0400
branchphysfslayer
changeset 8043 da083f8d95e6
parent 8037 547f94509079
child 8052 845b5ae03841
permissions -rw-r--r--
We need custom script loading function in lua now
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})
8037
547f94509079 Oops, didn't realize FindLua.cmake is our own module
unc0rr
parents: 8034
diff changeset
     4
include_directories(${CMAKE_SOURCE_DIR}/misc/liblua)
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
8034
fc032c0f7b23 Implement reader in C ffs
unc0rr
parents: 8022
diff changeset
     7
add_library(physfsrwops STATIC physfsrwops.c physfslualoader.c)
8043
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 8037
diff changeset
     8
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 8037
diff changeset
     9
add_dependencies(physfsrwops lua)