aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-20 16:19:36 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-06-20 16:29:35 -0700
commit833c38c6307e8e34bcf578fc7e24b29228f35928 (patch)
treee6a4fba294c426a0e6779009b524396fe912f040 /scripts
parente4e2d27ee90456b674171df1fb3daf6ff2b894aa (diff)
downloadvcpkg-833c38c6307e8e34bcf578fc7e24b29228f35928.tar.gz
vcpkg-833c38c6307e8e34bcf578fc7e24b29228f35928.zip
[jansson] Enable cmake scripts
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 3b0c794d9..5f96c4b26 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})