Fixing problems with static linking

parent 9908aa4c
......@@ -4,9 +4,11 @@ project( VistaTests )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaInterProcComm FIND_DEPENDENCIES )
if( WIN32 AND ITA_VISTA_BUILD_STATIC )
list( APPEND VISTA_USE_PACKAGE_LIBRARIES Ws2_32 Winmm )
endif( )
add_executable( VistaTickerTest VistaTickerTest.cpp )
target_link_libraries( VistaTickerTest ${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