Static lib needs separate output name

This commit is contained in:
Sam Smith 2018-11-09 09:24:09 -05:00
parent 17df41def0
commit b02c3df653
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if(HAVE_CUNIT OR ENABLE_STATIC_LIB)
COMPILE_FLAGS "${WARNCFLAGS}"
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
ARCHIVE_OUTPUT_NAME nghttp2
ARCHIVE_OUTPUT_DIRECTORY static
ARCHIVE_OUTPUT_NAME nghttp2_static
)
target_compile_definitions(nghttp2_static PUBLIC "-DNGHTTP2_STATICLIB")
if(ENABLE_STATIC_LIB)