aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-modularscripts
diff options
context:
space:
mode:
authorNicole Mazzuca <t-nimaz@microsoft.com>2019-07-19 12:17:22 -0700
committerNicole Mazzuca <t-nimaz@microsoft.com>2019-07-19 12:17:22 -0700
commitb3caf67749f21952e0157ba77ece755aa01b254a (patch)
treedff6a178b506fdc58e28bbc9094f1687eb99bd72 /ports/qt5-modularscripts
parentfddebb75da034752fb267ba121497ba58157bb79 (diff)
parent618fa203c13c30bd19826988cff66481bca0562f (diff)
downloadvcpkg-b3caf67749f21952e0157ba77ece755aa01b254a.tar.gz
vcpkg-b3caf67749f21952e0157ba77ece755aa01b254a.zip
Merge branch 'trunk' into parallel-file-ops
Diffstat (limited to 'ports/qt5-modularscripts')
-rw-r--r--ports/qt5-modularscripts/CONTROL2
-rw-r--r--ports/qt5-modularscripts/qt_modular_library.cmake11
2 files changed, 9 insertions, 4 deletions
diff --git a/ports/qt5-modularscripts/CONTROL b/ports/qt5-modularscripts/CONTROL
index 4dc0032f9..a3751b61b 100644
--- a/ports/qt5-modularscripts/CONTROL
+++ b/ports/qt5-modularscripts/CONTROL
@@ -1,3 +1,3 @@
Source: qt5-modularscripts
-Version: 2019-04-30
+Version: 2019-04-30-1
Description: Vcpkg helpers to package qt5 modules
diff --git a/ports/qt5-modularscripts/qt_modular_library.cmake b/ports/qt5-modularscripts/qt_modular_library.cmake
index 61eea306b..e58d0bf91 100644
--- a/ports/qt5-modularscripts/qt_modular_library.cmake
+++ b/ports/qt5-modularscripts/qt_modular_library.cmake
@@ -52,8 +52,12 @@ function(qt_modular_build_library SOURCE_PATH)
#Configure debug+release
vcpkg_configure_qmake(SOURCE_PATH ${SOURCE_PATH})
-
- vcpkg_build_qmake()
+ #Build debug+release
+ if (CMAKE_HOST_WIN32)
+ vcpkg_build_qmake()
+ else()
+ vcpkg_build_qmake(SKIP_MAKEFILES)
+ endif()
#Fix the cmake files if they exist
if(EXISTS ${RELEASE_DIR}/lib/cmake)
@@ -76,11 +80,12 @@ function(qt_modular_build_library SOURCE_PATH)
#Install the module files
vcpkg_build_qmake(TARGETS install SKIP_MAKEFILES BUILD_LOGNAME install)
- #Remove extra cmake files
+ #Install cmake files
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/cmake ${CURRENT_PACKAGES_DIR}/share/cmake)
endif()
+ #Remove extra cmake files
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/cmake)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake)
endif()