Commit e6b3d5e8 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Fixing problems with static build for lib and tests

parent 7d00fe22
......@@ -48,7 +48,7 @@ endif( )
if( BUILD_SHARED_LIBS )
add_definitions( -DITA_DSP_EXPORT )
else( )
add_definitions( -DITA_DSP_STATIC -DITA_FFT_STATIC -DITA_BASE_STATIC )
add_definitions( -DITA_DSP_STATIC -DITA_FFT_STATIC -DITA_BASE_STATIC -DITA_CONVOLUTION_STATIC )
endif( )
if( NOT WIN32 )
......
......@@ -19,7 +19,7 @@
#ifndef INCLUDE_WATCHER_ITA_DSP_DEFINITIONS
#define INCLUDE_WATCHER_ITA_DSP_DEFINITIONS
#if ( defined WIN32 ) && !( defined ITA_BASE_STATIC )
#if ( defined WIN32 ) && !( defined ITA_DSP_STATIC )
#ifdef ITA_DSP_EXPORT
#define ITA_DSP_API __declspec( dllexport )
#else
......
......@@ -11,7 +11,7 @@ vista_use_package( ITADataSources REQUIRED FIND_DEPENDENCIES )
if( ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_DSP_STATIC -DITA_DATA_SOURCES_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_DSP_STATIC -DITA_DATA_SOURCES_STATIC -DITA_CONVOLUTION_STATIC )
endif( )
if( ITA_VISTA_BUILD_STATIC )
......
Supports Markdown
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