From f3c3b7ec1b236642447fe83d519116248538463c Mon Sep 17 00:00:00 2001 From: Erik Hofman 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 a8f3446f..abb82f41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -407,15 +407,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)