We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139af84 commit 751e5b4Copy full SHA for 751e5b4
1 file changed
cmake/llhttpConfig.cmake.in
@@ -0,0 +1,19 @@
1
+@PACKAGE_INIT@
2
+
3
+include("${CMAKE_CURRENT_LIST_DIR}/llhttp-targets.cmake")
4
5
+if(NOT TARGET llhttp::llhttp)
6
+ if(TARGET llhttp::llhttp_shared)
7
+ add_library(llhttp::llhttp INTERFACE IMPORTED)
8
+ set_property(TARGET llhttp::llhttp PROPERTY
9
+ INTERFACE_LINK_LIBRARIES llhttp::llhttp_shared
10
+ )
11
+ elseif(TARGET llhttp::llhttp_static)
12
13
14
+ INTERFACE_LINK_LIBRARIES llhttp::llhttp_static
15
16
+ endif()
17
+endif()
18
19
+check_required_components(llhttp)
0 commit comments