mirror of https://github.com/CGAL/cgal
35 lines
814 B
CMake
35 lines
814 B
CMake
# Created by the script cgal_create_cmake_script
|
|
# This is the CMake script for compiling a CGAL application.
|
|
|
|
|
|
project( CGALImageIO_test )
|
|
|
|
cmake_minimum_required(VERSION 2.8.11)
|
|
|
|
|
|
include_directories(../../include)
|
|
|
|
find_package(CGAL QUIET COMPONENTS ImageIO )
|
|
|
|
if ( CGAL_FOUND )
|
|
|
|
include( ${CGAL_USE_FILE} )
|
|
|
|
include( CGAL_CreateSingleSourceCGALProgram )
|
|
|
|
if (WITH_CGAL_ImageIO)
|
|
create_single_source_cgal_program( "test_trilinear_interpolation.cpp" )
|
|
if(CGAL_ImageIO_USE_ZLIB)
|
|
target_link_libraries(test_trilinear_interpolation ${ZLIB_LIBRARY})
|
|
endif()
|
|
else()
|
|
message(STATUS "NOTICE: Some tests require the CGAL_ImageIO library, and will not be compiled.")
|
|
endif()
|
|
|
|
else()
|
|
|
|
message(STATUS "NOTICE: This program requires the CGAL library, and will not be compiled.")
|
|
|
|
endif()
|
|
|