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 f7b9501 commit e44e31dCopy full SHA for e44e31d
CMakeLists.txt
@@ -172,6 +172,11 @@ if(HTTPLIB_COMPILE)
172
$<BUILD_INTERFACE:${_httplib_build_includedir}/httplib.h>
173
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/httplib.h>
174
)
175
+ set_target_properties(${PROJECT_NAME}
176
+ PROPERTIES
177
+ VERSION ${${PROJECT_NAME}_VERSION}
178
+ SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR}
179
+ )
180
else()
181
# This is for header-only.
182
set(_INTERFACE_OR_PUBLIC INTERFACE)
0 commit comments