Fix in build env for static libs

parent a9332994
......@@ -70,7 +70,7 @@ endif( ITA_CTC_NCTC_EXPORT_FILTER_TO_HARDDRIVE )
if( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_CTC_EXPORT )
else( NOT ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_FFT_STATIC -DITA_BASE_STATIC -DITA_CONVOLUTION_STATIC )
add_definitions( -DITA_FFT_STATIC -DITA_BASE_STATIC -DITA_CONVOLUTION_STATIC -DITA_CTC_STATIC )
set( BUILD_SHARED_LIBS_TEMP ${BUILD_SHARED_LIBS} )
if( BUILD_SHARED_LIBS )
set( BUILD_SHARED_LIBS OFF )
......
......@@ -15,8 +15,11 @@ vista_use_package( OpenDAFF REQUIRED FIND_DEPENDENCIES )
if( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_CTC_STATIC )
message( "static" )
endif( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
message( "static: ${ITA_CORE_LIBS_BUILD_STATIC}" )
if( ITA_CTC_WITH_N_CTC )
add_executable( NCTC_CTCFilterTest NCTC_CTCFilterTest.cpp )
......
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