Fix build error when using bundled PhysFS

This commit is contained in:
King_DuckZ 2016-11-25 20:54:07 +00:00
parent 3ed0a214da
commit c6e7f68a0f

View file

@ -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")