mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 21:39:37 +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>
14 lines
863 B
Diff
14 lines
863 B
Diff
diff --git a/ports/cmake/cmake/CheckCPUArch.cmake b/ports/cmake/cmake/CheckCPUArch.cmake
|
|
index 84dab8a..925aa09 100644
|
|
--- a/ports/cmake/cmake/CheckCPUArch.cmake
|
|
+++ b/ports/cmake/cmake/CheckCPUArch.cmake
|
|
@@ -2,7 +2,7 @@ macro(_CHECK_CPU_ARCH ARCH ARCH_DEFINES VARIABLE)
|
|
if(NOT DEFINED HAVE_${VARIABLE})
|
|
message(STATUS "Check CPU architecture is ${ARCH}")
|
|
set(CHECK_CPU_ARCH_DEFINES ${ARCH_DEFINES})
|
|
- configure_file(${PROJECT_SOURCE_DIR}/CheckCPUArch.c.in ${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckCPUArch.c @ONLY)
|
|
+ configure_file(${PROJECT_SOURCE_DIR}/cmake/CheckCPUArch.c.in ${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckCPUArch.c @ONLY)
|
|
try_compile(HAVE_${VARIABLE} "${PROJECT_BINARY_DIR}"
|
|
"${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckCPUArch.c")
|
|
if(HAVE_${VARIABLE})
|