mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 11:11:35 +02:00
Add physfs to main CMakeLists.txt.
This commit is contained in:
+7
-1
@@ -8,8 +8,14 @@ cmake_minimum_required(VERSION 2.8)
|
||||
project(ldep)
|
||||
|
||||
set(DEP_ZLIB_VER "1.2.8")
|
||||
set(DEP_PHYSFS_VER "2.0.3")
|
||||
|
||||
set(ZLIB_FOUND TRUE)
|
||||
set(ZLIB_LIBRARY zlibstatic)
|
||||
set(ZLIB_INCLUDE_DIR .)
|
||||
|
||||
add_subdirectory("libs/zlib-${DEP_ZLIB_VER}" ${CMAKE_BINARY_DIR}/zlib)
|
||||
add_subdirectory("libs/physfs-${DEP_PHYSFS_VER}" ${CMAKE_BINARY_DIR}/physfs)
|
||||
|
||||
add_executable(ldeptest src/test.cpp)
|
||||
target_link_libraries(ldeptest zlibstatic)
|
||||
target_link_libraries(ldeptest zlibstatic physfs-static)
|
||||
|
||||
Reference in New Issue
Block a user