rename bcrypt to libbcrypt to reflect name of the project
This commit is contained in:
parent
645d13c752
commit
00183b535a
|
@ -876,7 +876,7 @@ ADD_MANPAGE_TARGET()
|
||||||
# build a bcrypt static library
|
# build a bcrypt static library
|
||||||
set(BUILD_SHARED_LIBS_SAVED "${BUILD_SHARED_LIBS}")
|
set(BUILD_SHARED_LIBS_SAVED "${BUILD_SHARED_LIBS}")
|
||||||
set(BUILD_SHARED_LIBS OFF)
|
set(BUILD_SHARED_LIBS OFF)
|
||||||
add_subdirectory(src/bcrypt)
|
add_subdirectory(src/libbcrypt)
|
||||||
set(BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS_SAVED}")
|
set(BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS_SAVED}")
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
|
@ -9,7 +9,7 @@ set(ZM_BIN_SRC_FILES zm_box.cpp zm_buffer.cpp zm_camera.cpp zm_comms.cpp zm_conf
|
||||||
|
|
||||||
# A fix for cmake recompiling the source files for every target.
|
# A fix for cmake recompiling the source files for every target.
|
||||||
add_library(zm STATIC ${ZM_BIN_SRC_FILES})
|
add_library(zm STATIC ${ZM_BIN_SRC_FILES})
|
||||||
link_directories(bcrypt)
|
link_directories(libbcrypt)
|
||||||
|
|
||||||
add_executable(zmc zmc.cpp)
|
add_executable(zmc zmc.cpp)
|
||||||
add_executable(zma zma.cpp)
|
add_executable(zma zma.cpp)
|
||||||
|
@ -17,7 +17,7 @@ add_executable(zmu zmu.cpp)
|
||||||
add_executable(zms zms.cpp)
|
add_executable(zms zms.cpp)
|
||||||
|
|
||||||
# JWT is a header only library.
|
# JWT is a header only library.
|
||||||
include_directories(bcrypt/include/bcrypt)
|
include_directories(libbcrypt/include/bcrypt)
|
||||||
include_directories(jwt-cpp/include/jwt-cpp)
|
include_directories(jwt-cpp/include/jwt-cpp)
|
||||||
|
|
||||||
target_link_libraries(zmc zm ${ZM_EXTRA_LIBS} ${ZM_BIN_LIBS})
|
target_link_libraries(zmc zm ${ZM_EXTRA_LIBS} ${ZM_BIN_LIBS})
|
||||||
|
|
Loading…
Reference in New Issue