fix the cmake flag PHYSFS_SYSTEM being called SYSTEM_PHYSFS in the code 0.9.19
authorsheepluva
Sun, 02 Jun 2013 22:43:59 +0200
branch0.9.19
changeset 9096 b3041025c271
parent 9095 17ee5231f31f
child 9097 4ae3dd71f5fa
fix the cmake flag PHYSFS_SYSTEM being called SYSTEM_PHYSFS in the code
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()