summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Kalinich <AKalinich@luxoft.com>2021-10-18 15:19:27 -0400
committerAndrii Kalinich <AKalinich@luxoft.com>2021-10-18 15:19:27 -0400
commitfdd9225d94010c12f9133015775cc7e97b57bb51 (patch)
treee0de8e95d6d4836765cd26ffa9fdf640ae5dffdc
parentf4dc4dc19fd2a4309218dc819becdf6ec7549c2e (diff)
downloadsdl_core-fdd9225d94010c12f9133015775cc7e97b57bb51.tar.gz
Fix Linux build
-rwxr-xr-xsrc/components/application_manager/test/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/application_manager/test/CMakeLists.txt b/src/components/application_manager/test/CMakeLists.txt
index 596d11cfa9..710cd1e8ff 100755
--- a/src/components/application_manager/test/CMakeLists.txt
+++ b/src/components/application_manager/test/CMakeLists.txt
@@ -120,6 +120,10 @@ if (ENABLE_SECURITY)
list(APPEND LIBRARIES SecurityManager)
endif()
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ list(APPEND LIBRARIES sqlite3)
+endif ()
+
if (${CMAKE_SYSTEM_NAME} MATCHES "QNX")
list(REMOVE_ITEM LIBRARIES dl)
endif()