diff options
author | Christopher Reimer | 2022-11-02 00:05:08 +0100 |
---|---|---|
committer | Christopher Reimer | 2022-11-02 00:05:08 +0100 |
commit | dee749d1932a7bd75da655740cdeafb84489034e (patch) | |
tree | 7bf2db5f255ed4ffe9d13ed582bbad56a9b447a5 /zenlib_dynamic_physfs.diff | |
parent | 655cf1b352264824734b31cdbdb2e6baaa622999 (diff) | |
download | aur-dee749d1932a7bd75da655740cdeafb84489034e.tar.gz |
Update opengothic 0.63
Diffstat (limited to 'zenlib_dynamic_physfs.diff')
-rw-r--r-- | zenlib_dynamic_physfs.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/zenlib_dynamic_physfs.diff b/zenlib_dynamic_physfs.diff new file mode 100644 index 000000000000..94a74dc3299e --- /dev/null +++ b/zenlib_dynamic_physfs.diff @@ -0,0 +1,29 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6c350f4..abb5f63 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -11,10 +11,8 @@ set(PHYSFS_BUILD_SHARED OFF) + set(CMAKE_CXX_STANDARD 14) + + # 3rd-party dependencies +-set(PHYSFS_BUILD_TEST OFF CACHE STRING "" FORCE) +-add_subdirectory(lib/physfs) +- +-include_directories(lib/physfs/src) ++find_package( PhysFS REQUIRED ) ++include_directories(${PHYSFS_INCLUDE_DIR}) + include_directories(.) + + # Internal libraries +diff --git a/vdfs/CMakeLists.txt b/vdfs/CMakeLists.txt +index 505ec46..e09006e 100644 +--- a/vdfs/CMakeLists.txt ++++ b/vdfs/CMakeLists.txt +@@ -13,6 +13,6 @@ if(MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DNOMINMAX") + endif() + +-target_link_libraries(vdfs physfs-static) ++target_link_libraries(vdfs physfs) + set_target_properties(vdfs PROPERTIES LINKER_LANGUAGE C) + target_include_directories(vdfs PUBLIC ..) |