Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
79a8f905
Commit
79a8f905
authored
Mar 03, 2017
by
François Grisez
Browse files
Fix build on Windows
parent
e28e14d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
79a8f905
...
...
@@ -82,6 +82,9 @@ if(ENABLE_STATIC)
else
()
set
(
LINPHONE_LIBS_FOR_TOOLS linphone
)
endif
()
if
(
WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL
"WindowsStore"
)
list
(
APPEND LINPHONE_LIBS_FOR_TOOLS
"Ws2_32"
)
endif
()
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
coreapi/CMakeLists.txt
View file @
79a8f905
...
...
@@ -151,6 +151,9 @@ set(LIBS
${
MEDIASTREAMER2_LIBRARIES
}
${
XML2_LIBRARIES
}
)
if
(
WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL
"WinddowsStore"
)
list
(
APPEND LIBS
"Ws2_32"
)
endif
()
if
(
ZLIB_FOUND
)
list
(
APPEND LIBS
${
ZLIB_LIBRARIES
}
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment