Make SGCT work between Debug and Release without manual removal

This commit is contained in:
Alexander Bock
2016-10-31 15:24:46 +01:00
parent fd98f311d3
commit c21bb3bb4d
2 changed files with 2 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ function (add_external_dependencies)
set(SGCT_TEXT OFF CACHE BOOL "" FORCE)
set(SGCT_BUILD_CSHARP_PROJECTS OFF CACHE BOOL "" FORCE)
set(SGCT_LIGHT_ONLY ON CACHE BOOL "" FORCE)
set(SGCT_CUSTOMOUTPUTDIRS OFF CACHE BOOL "" FORCE)
add_subdirectory(${OPENSPACE_EXT_DIR}/sgct)
target_include_directories(libOpenSpace SYSTEM PUBLIC ${OPENSPACE_EXT_DIR}/sgct/include)