diff --git a/CMakeLists.txt b/CMakeLists.txt index 834668e92a..66b4e9debc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -481,8 +481,8 @@ set(SOL_INCLUDE_DIR ${OpenMW_SOURCE_DIR}/extern/sol3) set(SOL_CONFIG_DIR ${OpenMW_SOURCE_DIR}/extern/sol_config) include_directories( - BEFORE SYSTEM "." + BEFORE SYSTEM ${MyGUI_INCLUDE_DIRS} ${OPENAL_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR}