# HG changeset patch # User sheepluva # Date 1370205839 -7200 # Node ID b3041025c2711cbe1ccb1c4e82609f10998e7371 # Parent 17ee5231f31f3467c7293aaf29816ff58ef06d0a fix the cmake flag PHYSFS_SYSTEM being called SYSTEM_PHYSFS in the code diff -r 17ee5231f31f -r b3041025c271 CMakeLists.txt --- a/CMakeLists.txt Fri May 31 14:52:30 2013 -0400 +++ b/CMakeLists.txt Sun Jun 02 22:43:59 2013 +0200 @@ -24,7 +24,7 @@ option(NOVIDEOREC "Disable video recording (off)" OFF) #set this to ON when 2.1.0 becomes more widespread (and only for linux) -option(SYSTEM_PHYSFS "Use system physfs (off)" OFF) +option(PHYSFS_SYSTEM "Use system physfs (off)" OFF) option(BUILD_ENGINE_LIBRARY "Enable hwengine library (off)" OFF) option(ANDROID "Enable Android build (off)" OFF) @@ -315,7 +315,7 @@ #physfs discovery -if (${SYSTEM_PHYSFS}) +if (${PHYSFS_SYSTEM}) if (NOT PHYSFS_LIBRARY OR NOT PHYSFS_INCLUDE_DIR) find_package(PhysFS) endif()