Switching to default dynamic lib build mode by changing base definition...

Switching to default dynamic lib build mode by changing base definition behavior. If you do not define anything, you will end up with a shared library, now.
parent 3a8d6b74
......@@ -10,9 +10,9 @@ endif()
vista_use_package( ITAConvolution REQUIRED FIND_DEPENDENCIES )
if( NOT ITA_CORE_LIBS_BUILD_STATIC )
if( NOT ITA_CORE_LIBS_BUILD_STATIC AND NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_FFT_STATIC -DITA_CONVOLUTION_STATIC )
endif( NOT ITA_CORE_LIBS_BUILD_STATIC )
endif( NOT ITA_CORE_LIBS_BUILD_STATIC AND NOT DEFINED ITA_CORE_LIBS_BUILD_STATIC )
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