From e14aeb1d04e1a9f1d831d5538e75e7b074c750e1 Mon Sep 17 00:00:00 2001
From: Erik Hofman <erik@ehofman.com>
Date: Fri, 29 Jul 2016 12:35:20 +0200
Subject: [PATCH] Split include dirs

---
 CMakeLists.txt | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22ecd3e0..a47086bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -405,15 +405,12 @@ include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}
     ${CURL_INCLUDE_DIRS}
 )
 
+include_directories( ${OPENSCENEGRAPH_INCLUDE_DIRS} )
 if (USE_AEONWAVE)
     find_package(AAX COMPONENTS aax REQUIRED)
-    include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}
-        ${AAX_INCLUDE_DIR}
-    )
+    include_directories( ${AAX_INCLUDE_DIR} )
 else()
-    include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}
-        ${OPENAL_INCLUDE_DIR}
-    )
+    include_directories( ${OPENAL_INCLUDE_DIR} )
 endif()
 
 add_definitions(-DHAVE_CONFIG_H)
-- 
2.39.5