hedgewars/CMakeLists.txt
changeset 9991 3858d99476f5
parent 9965 7ced30acf533
child 9996 d93fb04619ee
--- a/hedgewars/CMakeLists.txt	Thu Jan 16 01:27:44 2014 +0400
+++ b/hedgewars/CMakeLists.txt	Wed Jan 15 23:48:18 2014 +0100
@@ -141,7 +141,7 @@
     add_flag_append(CMAKE_Pascal_FLAGS "-XLAlua=${lua_output_name}")
 endif()
 
-if(PHYSFS_FOUND)
+if(PHYSFS_SYSTEM)
     get_filename_component(PHYSFS_LIBRARY_DIR ${PHYSFS_LIBRARY} PATH)
     add_flag_append(CMAKE_Pascal_FLAGS "-Fl${PHYSFS_LIBRARY}")
 else()