diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-06-20 16:19:36 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-06-20 16:29:35 -0700 |
| commit | 833c38c6307e8e34bcf578fc7e24b29228f35928 (patch) | |
| tree | e6a4fba294c426a0e6779009b524396fe912f040 /scripts | |
| parent | e4e2d27ee90456b674171df1fb3daf6ff2b894aa (diff) | |
| download | vcpkg-833c38c6307e8e34bcf578fc7e24b29228f35928.tar.gz vcpkg-833c38c6307e8e34bcf578fc7e24b29228f35928.zip | |
[jansson] Enable cmake scripts
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_fixup_cmake_targets.cmake | 4 |
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}) |
