]> git.mxchange.org Git - simgear.git/commitdiff
Split include dirs
authorErik Hofman <erik@ehofman.com>
Fri, 29 Jul 2016 10:35:20 +0000 (12:35 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
CMakeLists.txt

index 22ecd3e07773ea93082fb0950828159d8c5bb1bd..a47086bc03705fa475aa8cc3f53613c0da3a0ff7 100644 (file)
@@ -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)