[Pkg-voip-commits] [bctoolbox] 54/60: Fix link when building for Windows Universal.
Bernhard Schmidt
berni at moszumanska.debian.org
Sun Oct 15 22:42:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
berni pushed a commit to branch debian/sid
in repository bctoolbox.
commit a21cab956fc9ae8d9e870c97005481e199e14dd7
Author: Ghislain MARY <ghislain.mary at belledonne-communications.com>
Date: Thu Jul 6 14:56:30 2017 +0200
Fix link when building for Windows Universal.
---
src/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1697f98..7fb1922 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -98,7 +98,9 @@ if(ENABLE_SHARED)
)
endif()
if(WIN32)
- target_link_libraries(bctoolbox PRIVATE "Winmm" "Ws2_32")
+ if(NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ target_link_libraries(bctoolbox PRIVATE "Winmm" "Ws2_32")
+ endif()
target_compile_definitions(bctoolbox PRIVATE "-DBCTBX_EXPORTS")
endif()
set_target_properties(bctoolbox 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