Skip to content

Commit 235eb18

Browse files
committed
Move physfs includes before all others
This prevents system physfs includes from being picked up when bundled physfs is used
1 parent faca406 commit 235eb18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

QTfrontend/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/util)
6161
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/util/platform)
6262
include_directories(${SDL_INCLUDE_DIR})
6363
include_directories(${SDLMIXER_INCLUDE_DIR})
64-
include_directories(${PHYSFS_INCLUDE_DIR})
65-
include_directories(${PHYSLAYER_INCLUDE_DIR})
64+
include_directories(BEFORE ${PHYSFS_INCLUDE_DIR})
65+
include_directories(BEFORE ${PHYSLAYER_INCLUDE_DIR})
6666

6767

6868
if(UNIX)

0 commit comments

Comments
 (0)