aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBarath Kannan <barathsotd@gmail.com>2017-10-17 03:15:30 +1100
committerBarath Kannan <barathsotd@gmail.com>2017-10-17 03:15:30 +1100
commitc147fc78c919d6084e5f98a574484346d590f00d (patch)
treefcd63eab8d7c0381441fe3f6e742dd77cea67aae /scripts
parentd28de4a13edca249086e3ccf8d34e92ecb10006d (diff)
downloadvcpkg-c147fc78c919d6084e5f98a574484346d590f00d.tar.gz
vcpkg-c147fc78c919d6084e5f98a574484346d590f00d.zip
further fixes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_build_qmake_debug.cmake3
-rw-r--r--scripts/cmake/vcpkg_build_qmake_release.cmake5
2 files changed, 5 insertions, 3 deletions
diff --git a/scripts/cmake/vcpkg_build_qmake_debug.cmake b/scripts/cmake/vcpkg_build_qmake_debug.cmake
index 7e5625850..a734e63cf 100644
--- a/scripts/cmake/vcpkg_build_qmake_debug.cmake
+++ b/scripts/cmake/vcpkg_build_qmake_debug.cmake
@@ -10,6 +10,7 @@
# [1] : http://doc.qt.io/qt-5/qmake-variable-reference.html
function(vcpkg_build_qmake_debug)
+ cmake_parse_arguments(_csc "" "" "TARGETS" ${ARGN})
vcpkg_find_acquire_program(JOM)
# Make sure that the linker finds the libraries used
@@ -18,7 +19,7 @@ function(vcpkg_build_qmake_debug)
message(STATUS "Package ${TARGET_TRIPLET}-dbg")
vcpkg_execute_required_process(
- COMMAND ${JOM}
+ COMMAND ${JOM} ${_csc_TARGETS}
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
LOGNAME package-${TARGET_TRIPLET}-dbg
)
diff --git a/scripts/cmake/vcpkg_build_qmake_release.cmake b/scripts/cmake/vcpkg_build_qmake_release.cmake
index 6cfbcdc91..3daf9201b 100644
--- a/scripts/cmake/vcpkg_build_qmake_release.cmake
+++ b/scripts/cmake/vcpkg_build_qmake_release.cmake
@@ -10,15 +10,16 @@
# [1] : http://doc.qt.io/qt-5/qmake-variable-reference.html
function(vcpkg_build_qmake_release)
+ cmake_parse_arguments(_csc "" "" "TARGETS" ${ARGN})
vcpkg_find_acquire_program(JOM)
-
+
# Make sure that the linker finds the libraries used
set(ENV_PATH_BACKUP "$ENV{PATH}")
set(ENV{PATH} "${CURRENT_INSTALLED_DIR}/lib;${CURRENT_INSTALLED_DIR}/bin;${CURRENT_INSTALLED_DIR}/tools/qt5;$ENV{PATH}")
message(STATUS "Package ${TARGET_TRIPLET}-rel")
vcpkg_execute_required_process(
- COMMAND ${JOM}
+ COMMAND ${JOM} ${_csc_TARGETS}
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
LOGNAME package-${TARGET_TRIPLET}-rel
)