aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-28 16:46:57 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-07-28 16:46:57 -0700
commit4735040f66155c1b8f94d339bedb6afd4905e47c (patch)
treed15a603615cf65fa637fe34620dcd1df7d28979f /scripts
parent63454f618996baefef3f60f90767cd4c02d7590d (diff)
downloadvcpkg-4735040f66155c1b8f94d339bedb6afd4905e47c.tar.gz
vcpkg-4735040f66155c1b8f94d339bedb6afd4905e47c.zip
[vcpkg] Hotfix for 63454f6189.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/vcpkg.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 8fd08ffb6..d8c7ee6b8 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -138,12 +138,12 @@ if(NOT VCPKG_TOOLCHAIN)
endif()
endfunction()
- function(find_package name)
+ macro(find_package name)
if(name STREQUAL "Boost")
unset(Boost_USE_STATIC_LIBS)
endif()
_find_package(${ARGV})
- endfunction()
+ endmacro()
set(VCPKG_TOOLCHAIN ON)
endif()