cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
project(HighlightSelection)
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
link_directories(${VTK_LIBRARY_DIRS})
if (NOT VTK_FOUND)
message(FATAL_ERROR "HighlightSelection: Unable to find the VTK build folder.")
endif()
# Prevent a "command line is too long" failure in Windows.
set(CMAKE_NINJA_FORCE_RESPONSE_FILE "ON" CACHE BOOL "Force Ninja to use response files.")
add_executable(HighlightSelection MACOSX_BUNDLE HighlightSelection.cxx )
target_link_libraries(HighlightSelection PRIVATE ${VTK_LIBRARIES}
)