#2509 Fracture : Exclude files when fracture config is not active

This commit is contained in:
Magne Sjaastad 2018-02-21 10:41:11 +01:00
parent c6b12b85e0
commit ad97b19c30

View File

@ -124,7 +124,6 @@ list( APPEND REFERENCED_CMAKE_FILES
Commands/EclipseCommands/EclipseWell/CMakeLists_files.cmake
Commands/ExportCommands/CMakeLists_files.cmake
Commands/FlowCommands/CMakeLists_files.cmake
Commands/FractureCommands/CMakeLists_files.cmake
Commands/IntersectionBoxCommands/CMakeLists_files.cmake
Commands/IntersectionViewCommands/CMakeLists_files.cmake
Commands/OctaveScriptCommands/CMakeLists_files.cmake
@ -139,6 +138,13 @@ list( APPEND REFERENCED_CMAKE_FILES
CommandFileInterface/Core/CMakeLists_files.cmake
)
if (RESINSIGHT_ENABLE_PROTOTYPE_FEATURE_FRACTURES)
list (APPEND REFERENCED_CMAKE_FILES
Commands/FractureCommands/CMakeLists_files.cmake
)
endif()
option (RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS "Include ApplicationCode Unit Tests" OFF)
if (RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS)
add_definitions(-DUSE_UNIT_TESTS)