Move physfs includes before all others
authorDmitry Marakasov <amdmi3@amdmi3.ru>
Wed, 25 Dec 2013 23:25:25 +0400 (2013-12-25)
changeset 9801 8fb7737fbd31
parent 9799 a3fe81c3bc02
child 9855 7c0b35f4b3ae
Move physfs includes before all others This prevents system physfs includes from being picked up when bundled physfs is used
QTfrontend/CMakeLists.txt
--- a/QTfrontend/CMakeLists.txt	Wed Dec 25 23:23:48 2013 +0400
+++ b/QTfrontend/CMakeLists.txt	Wed Dec 25 23:25:25 2013 +0400
@@ -61,8 +61,8 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/util/platform)
 include_directories(${SDL_INCLUDE_DIR})
 include_directories(${SDLMIXER_INCLUDE_DIR})
-include_directories(${PHYSFS_INCLUDE_DIR})
-include_directories(${PHYSLAYER_INCLUDE_DIR})
+include_directories(BEFORE ${PHYSFS_INCLUDE_DIR})
+include_directories(BEFORE ${PHYSLAYER_INCLUDE_DIR})
 
 
 if(UNIX)