misc/physfs/extras/CMakeLists.txt
author unc0rr
Sat, 17 Nov 2012 22:07:17 +0400
branchphysfslayer
changeset 8046 4d3415927d2c
parent 8043 da083f8d95e6
child 8052 845b5ae03841
permissions -rw-r--r--
Use (undocumented) Mix_LoadMUS_RW to load music

find_package(SDL REQUIRED)

include_directories(${SDL_INCLUDE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/misc/liblua)
include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)

add_library(physfsrwops STATIC physfsrwops.c physfslualoader.c)

add_dependencies(physfsrwops lua)