mirror of https://github.com/microsoft/vcpkg.git
23 lines
706 B
Diff
23 lines
706 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 789f15bc6..be3ea630d 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -114,7 +114,7 @@ endif()
|
|
# HOST PROJECT
|
|
##
|
|
|
|
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS AND NOT WIN32)
|
|
+if(0)
|
|
|
|
if(NOT Gn_FOUND)
|
|
message(FATAL_ERROR "\nHost gn not found - cross compilation not possible")
|
|
@@ -148,7 +148,7 @@ if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS)
|
|
endif()
|
|
|
|
# install gn for cross build
|
|
-if((LINUX OR MACOS OR WIN32) AND INSTALL_GN)
|
|
+if(NOT CMAKE_CROSSCOMPILING AND INSTALL_GN)
|
|
if(NOT QT_WILL_INSTALL)
|
|
set(copyOutput
|
|
${QT_BUILD_DIR}/${INSTALL_LIBEXECDIR}/gn${CMAKE_EXECUTABLE_SUFFIX}
|