mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 02:29:47 +08:00
256d8a497a
* [Many ports] Update to the latest version * [rhash] Update ci.baseline.txt * [update] Remove change of rhash * [update] Revert ci.baseline.txt * [update] Revert ci.baseline.txt * [update] Remove change of poco and paho-mqtt * [sqlpp11] Revert change * [openblas] Fix uwp error * Update CONTROL Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
44 lines
2.1 KiB
Diff
44 lines
2.1 KiB
Diff
diff --git a/cmake/prebuild.cmake b/cmake/prebuild.cmake
|
|
index 58ca1eb..e2f2134 100644
|
|
--- a/cmake/prebuild.cmake
|
|
+++ b/cmake/prebuild.cmake
|
|
@@ -490,14 +490,14 @@ else(NOT CMAKE_CROSSCOMPILING)
|
|
|
|
set(GETARCH_DIR "${PROJECT_BINARY_DIR}/getarch_build")
|
|
set(GETARCH_BIN "getarch${CMAKE_EXECUTABLE_SUFFIX}")
|
|
- file(MAKE_DIRECTORY ${GETARCH_DIR})
|
|
- configure_file(${TARGET_CONF_TEMP} ${GETARCH_DIR}/${TARGET_CONF} COPYONLY)
|
|
+ file(MAKE_DIRECTORY "${GETARCH_DIR}")
|
|
+ configure_file(${TARGET_CONF_TEMP} "${GETARCH_DIR}/${TARGET_CONF}" COPYONLY)
|
|
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore")
|
|
- try_compile(GETARCH_RESULT ${GETARCH_DIR}
|
|
+ try_compile(GETARCH_RESULT "${GETARCH_DIR}"
|
|
SOURCES ${GETARCH_SRC}
|
|
COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} -I"${GETARCH_DIR}" -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}"
|
|
OUTPUT_VARIABLE GETARCH_LOG
|
|
- COPY_FILE ${PROJECT_BINARY_DIR}/${GETARCH_BIN}
|
|
+ COPY_FILE "${PROJECT_BINARY_DIR}/${GETARCH_BIN}"
|
|
)
|
|
|
|
if (NOT ${GETARCH_RESULT})
|
|
@@ -518,14 +518,14 @@ execute_process(COMMAND "${BLASHELPER_BINARY_DIR}/${GETARCH_BIN}" 1 OUTPUT_VARIA
|
|
|
|
set(GETARCH2_DIR "${PROJECT_BINARY_DIR}/getarch2_build")
|
|
set(GETARCH2_BIN "getarch_2nd${CMAKE_EXECUTABLE_SUFFIX}")
|
|
- file(MAKE_DIRECTORY ${GETARCH2_DIR})
|
|
- configure_file(${TARGET_CONF_TEMP} ${GETARCH2_DIR}/${TARGET_CONF} COPYONLY)
|
|
+ file(MAKE_DIRECTORY "${GETARCH2_DIR}")
|
|
+ configure_file(${TARGET_CONF_TEMP} "${GETARCH2_DIR}/${TARGET_CONF}" COPYONLY)
|
|
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore")
|
|
- try_compile(GETARCH2_RESULT ${GETARCH2_DIR}
|
|
- SOURCES ${PROJECT_SOURCE_DIR}/getarch_2nd.c
|
|
+ try_compile(GETARCH2_RESULT "${GETARCH2_DIR}"
|
|
+ SOURCES "${PROJECT_SOURCE_DIR}/getarch_2nd.c"
|
|
COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} ${GETARCH2_FLAGS} -I"${GETARCH2_DIR}" -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}"
|
|
OUTPUT_VARIABLE GETARCH2_LOG
|
|
- COPY_FILE ${PROJECT_BINARY_DIR}/${GETARCH2_BIN}
|
|
+ COPY_FILE "${PROJECT_BINARY_DIR}/${GETARCH2_BIN}"
|
|
)
|
|
|
|
if (NOT ${GETARCH2_RESULT})
|