From 18e6f02120af4945ddd80ce89c72437ec88832a9 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 6 Apr 2020 09:11:01 +0200 Subject: [PATCH] src/CMakeLists.txt: fix static build Do not force SHARED when building library or static build will fail Signed-off-by: Fabrice Fontaine --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e60be39..56bcade 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -96,7 +96,7 @@ else() endif() endif() -add_library(uhttpd SHARED ${SOURCE_FILES}) +add_library(uhttpd ${SOURCE_FILES}) set_target_properties(uhttpd PROPERTIES VERSION ${UHTTPD_VERSION_MAJOR}.${UHTTPD_VERSION_MINOR}.${UHTTPD_VERSION_PATCH}) target_link_libraries(uhttpd ${EXTRA_LIBS})