[Pkg-voip-commits] [bctoolbox] 37/57: Add missing link libraries on Windows.

daniel at gnoutcheff.name daniel at gnoutcheff.name
Thu Mar 30 04:31:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

gnoutchd-guest pushed a commit to branch debian/sid
in repository bctoolbox.

commit c65178802e2629dbfc1fd9b9e5f2e739fe99bd73
Author: Ghislain MARY <ghislain.mary at belledonne-communications.com>
Date:   Mon Jan 23 11:07:16 2017 +0100

    Add missing link libraries on Windows.
---
 src/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 032b206..c611f17 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -58,6 +58,7 @@ if(ENABLE_STATIC)
 	add_library(bctoolbox-static STATIC ${BCTOOLBOX_SOURCE_FILES} ${BCTOOLBOX_HEADER_FILES})
 	target_link_libraries(bctoolbox-static ${CMAKE_THREAD_LIBS_INIT})
 	if(WIN32)
+		target_link_libraries(bctoolbox-static "Winmm" "Ws2_32")
 		target_compile_definitions(bctoolbox-static PUBLIC "-DBCTBX_STATIC")
 	endif()
 	set_target_properties(bctoolbox-static PROPERTIES LINKER_LANGUAGE "CXX")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git



More information about the Pkg-voip-commits mailing list