Merge pull request #7 from ffontaine/master

src/CMakeLists.txt: fix static build
main
Jianhui Zhao 2020-04-06 21:13:50 +08:00 committed by GitHub
commit ad13b8d9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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})