mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 20:39:12 +08:00
5edbbf1a70
* [mpg123] Upgrade to 1.28.0 * [libopenmpt] Upgrade to 2017-01-28-cf2390140-2 * [mpg123] Disable UWP port * Fix libmpg123 UWP build * Fix libout123 UWP build * Fix libsyn123 UWP build * Update ports/libopenmpt/CMakeLists.txt Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/libopenmpt/CMakeLists.txt Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [libopenmpt] Update libopenmpt.json * [mpg123] Separate UWP patches Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
22 lines
852 B
Diff
22 lines
852 B
Diff
diff --git a/ports/cmake/src/CMakeLists.txt b/ports/cmake/src/CMakeLists.txt
|
|
index b843152..b8ff89b 100644
|
|
--- a/ports/cmake/src/CMakeLists.txt
|
|
+++ b/ports/cmake/src/CMakeLists.txt
|
|
@@ -39,8 +39,6 @@ check_include_file("termios.h" HAVE_TERMIOS)
|
|
check_include_file("unistd.h" HAVE_UNISTD_H)
|
|
check_include_file("windows.h" HAVE_WINDOWS_H)
|
|
|
|
-check_symbol_exists(strerror "string.h" HAVE_STRERROR)
|
|
-
|
|
function(check_m)
|
|
set(CMAKE_REQUIRED_LIBRARIES m)
|
|
check_function_exists(sin HAVE_M)
|
|
@@ -59,6 +57,7 @@ check_function_exists(shmget HAVE_SHMGET)
|
|
check_function_exists(shmat HAVE_SHMAT)
|
|
check_function_exists(shmdt HAVE_SHMDT)
|
|
check_function_exists(shmctl HAVE_SHMCTL)
|
|
+check_function_exists(strerror HAVE_STRERROR)
|
|
|
|
search_libs(gethostbyname GETHOSTBYNAME_LIB nsl socket network)
|
|
search_libs(socket SOCKET_LIB socket)
|