add FreeRTOS sodium support -> pip_crypt
git-svn-id: svn://db.shs.com.ru/pip@684 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -459,6 +459,13 @@ if (NOT PIP_FREERTOS)
|
|||||||
add_executable(pip_test "main.cpp")
|
add_executable(pip_test "main.cpp")
|
||||||
target_link_libraries(pip_test pip)
|
target_link_libraries(pip_test pip)
|
||||||
|
|
||||||
|
else(NOT PIP_FREERTOS)
|
||||||
|
message(STATUS "Building PIP with crypt support")
|
||||||
|
add_definitions(-DPIP_CRYPT)
|
||||||
|
add_library(pip_crypt ${PIP_LIB_TYPE} ${CPP_LIB_CRYPT})
|
||||||
|
target_link_libraries(pip_crypt pip ${sodium_FOUND})
|
||||||
|
list(APPEND LIBS_STATUS sodium)
|
||||||
|
list(APPEND PIP_LIBS_TARGETS pip_crypt)
|
||||||
endif(NOT PIP_FREERTOS)
|
endif(NOT PIP_FREERTOS)
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|||||||
Reference in New Issue
Block a user