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)