cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project(VisGrid3D)

set(CMAKE_CXX_STANDARD 11)

set(SOURCE_FILES
        src/colortable.h
        src/cxxopts.hpp
        src/datareader.cpp
        src/datareader.h
        src/VisGrid3D.cpp
        src/visualizer.cpp
        src/visualizer.h
        src/colormap.h)

find_package(VTK REQUIRED)
find_package(ImageMagick REQUIRED)
include(${VTK_USE_FILE})

find_package(Boost COMPONENTS filesystem iostreams REQUIRED)
include_directories(${Boost_INCLUDE_DIR})
link_directories(${Boost_LIBRARY_DIR})

add_executable(VisGrid3D ${SOURCE_FILES})

target_link_libraries(VisGrid3D ${VTK_LIBRARIES})
target_link_libraries(VisGrid3D ${Boost_LIBRARIES} )


cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project(VisGrid3D)

set(CMAKE_CXX_STANDARD 11)

set(SOURCE_FILES
        src/colortable.h
        src/cxxopts.hpp
        src/datareader.cpp
        src/datareader.h
        src/VisGrid3D.cpp
        src/visualizer.cpp
        src/visualizer.h
        src/colormap.h)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

find_package(Boost COMPONENTS filesystem iostreams REQUIRED)
include_directories(${Boost_INCLUDE_DIR})
link_directories(${Boost_LIBRARY_DIR})

add_executable(VisGrid3D ${SOURCE_FILES})

target_link_libraries(VisGrid3D ${VTK_LIBRARIES})
target_link_libraries(VisGrid3D ${Boost_LIBRARIES} )

Remove unused imagemagick requirement from CMake configuration
Remove unused imagemagick requirement from CMake configuration
