From: Thomas Geymayer Date: Sun, 4 Nov 2012 15:51:07 +0000 (+0100) Subject: Fix adding ShivaVG include directory X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6ce1d8c674e8e20ca285a097be1fd975e911c62;p=simgear.git Fix adding ShivaVG include directory --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 39dfab99..25f73047 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,6 +286,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS_C} ${MSVC_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS_CXX} ${MSVC_FLAGS} ${BOOST_CXX_FLAGS}") include_directories(${PROJECT_SOURCE_DIR}) +include_directories(${PROJECT_SOURCE_DIR}/simgear/canvas/ShivaVG/include) include_directories(${PROJECT_BINARY_DIR}/simgear) include_directories(${PROJECT_BINARY_DIR}/simgear/xml) diff --git a/simgear/canvas/CMakeLists.txt b/simgear/canvas/CMakeLists.txt index 169c2d65..2110c9e1 100644 --- a/simgear/canvas/CMakeLists.txt +++ b/simgear/canvas/CMakeLists.txt @@ -19,7 +19,6 @@ set(SOURCES ) add_subdirectory(ShivaVG/src) -include_directories(ShivaVG/include) - add_subdirectory(elements) + simgear_scene_component(canvas canvas "${SOURCES}" "${HEADERS}")