Merge pull request #8 from zhaojh329/revert-7-master

Revert "src/CMakeLists.txt: fix static build"
main
Jianhui Zhao 2020-04-06 21:25:01 +08:00 committed by GitHub
commit b2501c318a
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()
endif() endif()
add_library(uhttpd ${SOURCE_FILES}) add_library(uhttpd SHARED ${SOURCE_FILES})
set_target_properties(uhttpd PROPERTIES VERSION ${UHTTPD_VERSION_MAJOR}.${UHTTPD_VERSION_MINOR}.${UHTTPD_VERSION_PATCH}) set_target_properties(uhttpd PROPERTIES VERSION ${UHTTPD_VERSION_MAJOR}.${UHTTPD_VERSION_MINOR}.${UHTTPD_VERSION_PATCH})
target_link_libraries(uhttpd ${EXTRA_LIBS}) target_link_libraries(uhttpd ${EXTRA_LIBS})