From b02c3df65371ffecc957d657772669b66788cbc4 Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Fri, 9 Nov 2018 09:24:09 -0500 Subject: [PATCH] Static lib needs separate output name --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index e58070f5..a10f82a5 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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)