misc/physfs/extras/CMakeLists.txt
author unc0rr
Wed, 14 Nov 2012 00:41:29 +0400
branchphysfslayer
changeset 8022 10b3b93c1f56
child 8034 fc032c0f7b23
permissions -rw-r--r--
- Add physfsrwops library - Load images via physfs (crashes)
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})
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     4
include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     5
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     6
add_library(physfsrwops STATIC physfsrwops.c)