build bcrypt as static

This commit is contained in:
Pliable Pixels 2019-05-02 10:52:21 -04:00
parent 45b7814124
commit d252a8ba30
1 changed files with 6 additions and 0 deletions

View File

@ -870,7 +870,13 @@ include(Pod2Man)
ADD_MANPAGE_TARGET() ADD_MANPAGE_TARGET()
# Process subdirectories # Process subdirectories
# build a bcrypt static library
set(BUILD_SHARED_LIBS_SAVED "${BUILD_SHARED_LIBS}")
set(BUILD_SHARED_LIBS OFF)
add_subdirectory(third_party/bcrypt) add_subdirectory(third_party/bcrypt)
set(BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS_SAVED}")
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(scripts) add_subdirectory(scripts)
add_subdirectory(db) add_subdirectory(db)