aboutsummaryrefslogtreecommitdiff
path: root/ports/polymorphic-value/002_fixed_config.patch
blob: 77a99b058681dd6dff1a19df23f0d0a70551c13d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/./broken_config.cmake.in b/./fixed_config.cmake.in
index e64f8a20f..38c441451 100644
--- a/polymorphic_value-config.cmake.in
+++ b/polymorphic_value-config.cmake.in
@@ -1,5 +1,7 @@
 @PACKAGE_INIT@
 
-set_and_check(POLYMORPHIC_VALUE_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
 
-check_required_components(Foo)
+
+check_required_components(polymorphic_value)
+
+include(${CMAKE_CURRENT_LIST_DIR}/polymorphic_value-target.cmake)