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

Adding additional libs for static linking against Vista

parent 7f39d795
......@@ -7,9 +7,15 @@ include( VistaCommon )
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaBase )
vista_use_package( VACore REQUIRED FIND_DEPENDENCIES )
if( ITA_VISTA_BUILD_STATIC )
add_definitions( -DVISTABASE_STATIC )
if( WIN32 )
set( VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES Ws2_32 )
endif( WIN32 )
endif( )
add_executable( CoreTest CoreTest.cpp )
target_link_libraries( CoreTest ${VISTA_USE_PACKAGE_LIBRARIES} )
target_link_libraries( CoreTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
vista_configure_app( CoreTest )
vista_install( CoreTest )
......@@ -19,7 +25,7 @@ set_property( TARGET CoreTest PROPERTY FOLDER "VA/Tests/VACore" )
add_executable( MotionModelTest MotionModelTest.cpp )
target_link_libraries( MotionModelTest ${VISTA_USE_PACKAGE_LIBRARIES} )
target_link_libraries( MotionModelTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
vista_configure_app( MotionModelTest )
vista_install( MotionModelTest )
......@@ -29,7 +35,7 @@ set_property( TARGET MotionModelTest PROPERTY FOLDER "VA/Tests/VACore" )
add_executable( SceneConfigTest SceneConfigTest.cpp )
target_link_libraries( SceneConfigTest ${VISTA_USE_PACKAGE_LIBRARIES} )
target_link_libraries( SceneConfigTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
vista_configure_app( SceneConfigTest )
vista_install( SceneConfigTest )
......@@ -39,7 +45,7 @@ set_property( TARGET SceneConfigTest PROPERTY FOLDER "VA/Tests/VACore" )
add_executable( GenericPathRendererTest GenericPathRendererTest.cpp )
target_link_libraries( GenericPathRendererTest ${VISTA_USE_PACKAGE_LIBRARIES} )
target_link_libraries( GenericPathRendererTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
vista_configure_app( GenericPathRendererTest )
vista_install( GenericPathRendererTest )
......@@ -49,7 +55,7 @@ set_property( TARGET GenericPathRendererTest PROPERTY FOLDER "VA/Tests/VACore" )
add_executable( NetworkStreamAudioSignalSourceTest NetworkStreamAudioSignalSourceTest.cpp )
target_link_libraries( NetworkStreamAudioSignalSourceTest ${VISTA_USE_PACKAGE_LIBRARIES} )
target_link_libraries( NetworkStreamAudioSignalSourceTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
vista_configure_app( NetworkStreamAudioSignalSourceTest )
vista_install( NetworkStreamAudioSignalSourceTest )
......
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