aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-20 16:30:21 -0700
committerGitHub <noreply@github.com>2017-06-20 16:30:21 -0700
commit78fff8f2ea8192a884a8ac1ee17e36fe922682c1 (patch)
treeb0e5807e68afdf41097a98d4c9ed570bf9bd758a /scripts
parente72b0ec9a2ac23300c39d7bc8217dfd5cfa6ab63 (diff)
parent833c38c6307e8e34bcf578fc7e24b29228f35928 (diff)
downloadvcpkg-78fff8f2ea8192a884a8ac1ee17e36fe922682c1.tar.gz
vcpkg-78fff8f2ea8192a884a8ac1ee17e36fe922682c1.zip
Merge pull request #1299 from atkawa7/jansson
[jansson] new port required by nghttp2 #1122
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_fixup_cmake_targets.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
index f65337544..c56b96ccc 100644
--- a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
+++ b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake
@@ -16,6 +16,10 @@
function(vcpkg_fixup_cmake_targets)
cmake_parse_arguments(_vfct "" "CONFIG_PATH" "" ${ARGN})
+ if(_vfct_UNPARSED_ARGUMENTS)
+ message(FATAL_ERROR "vcpkg_fixup_cmake_targets was passed extra arguments: ${_vfct_UNPARSED_ARGUMENTS}")
+ endif()
+
set(DEBUG_SHARE ${CURRENT_PACKAGES_DIR}/debug/share/${PORT})
set(RELEASE_SHARE ${CURRENT_PACKAGES_DIR}/share/${PORT})