X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=c47e632a394add363d82acad6ec797221208a5c2;hb=36a5034839183d1c49b63e4cbd955004bf46a8b3;hp=89d4d51fe08e31352081107e90dca8846ce73137;hpb=6b8b90ae60a9f1deb0d45c92fbd0da697462b781;p=src%2Fapp-framework-main.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 89d4d51..c47e632 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -46,7 +46,14 @@ endif(USE_LIBZIP) ########################################################################### -include_directories(simulation) +if(USE_SIMULATION) + include_directories(simulation) +else(USE_SIMULATION) + pkg_check_modules(SECMGR REQUIRED security-manager) + add_compile_options(${SECMGR_CFLAGS}) + include_directories(${SECMGR_INCLUDE_DIRS}) + link_libraries(${SECMGR_LIBRARIES}) +endif(USE_SIMULATION) ###########################################################################