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 3da5577 commit c654109Copy full SHA for c654109
CMakeLists.txt
@@ -19,6 +19,9 @@ find_package(ZLIB QUIET)
19
include(GNUInstallDirs)
20
21
add_library(${PROJECT_NAME} INTERFACE)
22
+# Lets you address the target with httplib::httplib
23
+# Only useful if building in-tree, versus using it from an installation.
24
+add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
25
26
# Might be missing some, but this list is somewhat comprehensive
27
target_compile_features(${PROJECT_NAME} INTERFACE
0 commit comments