diff options
Diffstat (limited to 'src/components/security_manager/CMakeLists.txt')
-rw-r--r-- | src/components/security_manager/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/security_manager/CMakeLists.txt b/src/components/security_manager/CMakeLists.txt index 3ac614dd98..58afc8e2c5 100644 --- a/src/components/security_manager/CMakeLists.txt +++ b/src/components/security_manager/CMakeLists.txt @@ -57,8 +57,13 @@ set(LIBRARIES ProtocolLibrary ) -list(APPEND LIBRARIES crypto -L${OPENSSL_LIBS_DIRECTORY}) -list(APPEND LIBRARIES ssl -L${OPENSSL_LIBS_DIRECTORY}) +if(ANDROID) + list(APPEND LIBRARIES crypto -L${OPENSSL_LIBS_DIRECTORY}) + list(APPEND LIBRARIES ssl -L${OPENSSL_LIBS_DIRECTORY}) +else() + list(APPEND LIBRARIES crypto) + list(APPEND LIBRARIES ssl) +endif() add_library(SecurityManager ${SOURCES}) target_link_libraries(SecurityManager ${LIBRARIES}) |