From c6e7f68a0ff432b97b58c48cf158ffb01b83458f Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 25 Nov 2016 20:54:07 +0000 Subject: [PATCH] Fix build error when using bundled PhysFS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f570c11..4d02f5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ endif (FORCE_OPENGLES OR RASPBERRY_PI) if (WITH_BUILTIN_PHYSFS) message(STATUS "Using internal PhysFS") - set(PHYSFS_INCLUDE_DIR "lib/physfs-2.0.3") + set(PHYSFS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/lib/physfs-2.0.3") set(PHYSFS_LIBRARY "physfs") else(WITH_BUILTIN_PHYSFS) message(STATUS "Using system's PhysFS, set WITH_BUILTIN_PHYSFS to on to override this")