Fixing problems with static linking

parent 4b9e6b8e
...@@ -38,11 +38,6 @@ vista_use_package( Matlab REQUIRED FIND_DEPENDENCIES ) ...@@ -38,11 +38,6 @@ vista_use_package( Matlab REQUIRED FIND_DEPENDENCIES )
vista_use_package( NatNetSDK REQUIRED FIND_DEPENDENCIES ) vista_use_package( NatNetSDK REQUIRED FIND_DEPENDENCIES )
# Build settings
if( ITA_CORE_LIBS_STATIC )
add_definitions( -DITACORELIBS_STATIC )
endif( )
if( ITA_VISTA_BUILD_STATIC ) if( ITA_VISTA_BUILD_STATIC )
add_definitions( -DVISTA_STATIC ) add_definitions( -DVISTA_STATIC )
if( WIN32 ) if( WIN32 )
...@@ -51,7 +46,7 @@ if( ITA_VISTA_BUILD_STATIC ) ...@@ -51,7 +46,7 @@ if( ITA_VISTA_BUILD_STATIC )
endif( ) endif( )
if( NOT BUILD_SHARED_LIBS ) if( NOT BUILD_SHARED_LIBS )
add_definitions( -DVABASE_STATIC -DVANET_STATIC ) add_definitions( -DVABASE_STATIC -DVANET_STATIC )
endif( ) endif( )
......
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