cleaing up cmake configs

parent 18468f8f
cmake_minimum_required( VERSION 2.8 )
if( NOT ITACONVOLUTION_COMMON_BUILD )
project( ITAConvolutionTests )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
endif()
project( ITAConvolutionTests )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
vista_use_package( ITAConvolution REQUIRED FIND_DEPENDENCIES )
if( NOT ITA_CORE_LIBS_BUILD_STATIC AND NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC )
if( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_FFT_STATIC -DITA_CONVOLUTION_STATIC )
endif( NOT ITA_CORE_LIBS_BUILD_STATIC AND NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC )
endif( )
add_executable( ITAConvolutionTest "ITAConvolutionTest.cpp" )
target_link_libraries( ITAConvolutionTest ${VISTA_USE_PACKAGE_LIBRARIES} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment