diff options
Diffstat (limited to '7c5019c30fc463c13c8a20f54c894aac908ebd56.patch')
-rw-r--r-- | 7c5019c30fc463c13c8a20f54c894aac908ebd56.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/7c5019c30fc463c13c8a20f54c894aac908ebd56.patch b/7c5019c30fc463c13c8a20f54c894aac908ebd56.patch new file mode 100644 index 000000000000..190b2cd1b7fa --- /dev/null +++ b/7c5019c30fc463c13c8a20f54c894aac908ebd56.patch @@ -0,0 +1,32 @@ +From 7c5019c30fc463c13c8a20f54c894aac908ebd56 Mon Sep 17 00:00:00 2001 +From: willtunnels <bendriscoll00@gmail.com> +Date: Wed, 21 Nov 2018 08:44:06 -0800 +Subject: [PATCH] Fix find_package(EnTT) when EnTT is installed using vcpkg + (#159) + +This commit fixes a bug where find_package(EnTT) fails when EnTT is +installed using vcpkg. + +The bug occurs because EnTTConfig.cmake.in calls +check_required_components(), yet the call to +configure_package_config_file() in CMakeLists.txt that generates +EnTTConfig.cmake is passed NO_CHECK_REQUIRED_COMPONENTS_MACRO. This +causes CMake to error when it tries to parse the output EnTTConfig.cmake +file if that file is generated from EnTTConfig.cmake.in e.g. when +installing EnTT using vcpkg. +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cb60541..c68aec1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -140,7 +140,6 @@ configure_package_config_file( + ${CUSTOM_INSTALL_CONFIGDIR}/EnTTConfig.cmake + INSTALL_DESTINATION ${CUSTOM_INSTALL_CONFIGDIR} + PATH_VARS CMAKE_INSTALL_INCLUDEDIR +- NO_CHECK_REQUIRED_COMPONENTS_MACRO + ) + + write_basic_package_version_file( |