src/CMakeLists.txt: fix static build

Do not force SHARED when building library or static build will fail

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine committed 2020-04-06 09:11:01 +02:00
1 parent 9fdbcfb8bd
commit 18e6f02120
1 file changed
+1 -1
+1 -1
View File
@@ -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})