summaryrefslogtreecommitdiffstats
path: root/policy_manager
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-05-27 14:24:22 -0400
committerScott Murray <scott.murray@konsulko.com>2020-05-27 14:27:56 -0400
commitc0208be2fdd6d30d59b534b848c1f4ce39a764d5 (patch)
treee98eaded50026086d934b27ad6363db15151de33 /policy_manager
parente81c43b394aba2766cea5ce7f410d56f70e7464a (diff)
Update to use CMake app template
Rework CMake files to actually use the CMake app template macros, with an update of the autobuild script to fix test widget building to match the state of the other bindings. Bug-AGL: SPEC-2049 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I88c438ed4dafd631646769d7b6dc3debd1ccd6de
Diffstat (limited to 'policy_manager')
-rw-r--r--policy_manager/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/policy_manager/CMakeLists.txt b/policy_manager/CMakeLists.txt
index 3ec4c39..77ddd36 100644
--- a/policy_manager/CMakeLists.txt
+++ b/policy_manager/CMakeLists.txt
@@ -96,9 +96,9 @@ if (LINK_LIBCXX)
endif()
add_custom_command(TARGET ${TARGETS_PM} POST_BUILD
- COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/root/lib
- COMMAND cp -f ${PROJECT_BINARY_DIR}/${PLUGIN_PM}/lib${PLUGIN_PM}.so ${PROJECT_BINARY_DIR}/package/root/lib
- COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/root/etc
- COMMAND cp -f ${PROJECT_SOURCE_DIR}/${PLUGIN_PM}/db/states.db ${PROJECT_BINARY_DIR}/package/root/etc
- COMMAND cp -f ${PROJECT_SOURCE_DIR}/${PLUGIN_PM}/db/${ROLES_DB_NAME} ${PROJECT_BINARY_DIR}/package/root/etc/roles.db
+ COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/lib
+ COMMAND cp -f ${PROJECT_BINARY_DIR}/${PLUGIN_PM}/lib${PLUGIN_PM}.so ${PROJECT_BINARY_DIR}/package/lib
+ COMMAND mkdir -p ${PROJECT_BINARY_DIR}/package/etc
+ COMMAND cp -f ${PROJECT_SOURCE_DIR}/${PLUGIN_PM}/db/states.db ${PROJECT_BINARY_DIR}/package/etc
+ COMMAND cp -f ${PROJECT_SOURCE_DIR}/${PLUGIN_PM}/db/${ROLES_DB_NAME} ${PROJECT_BINARY_DIR}/package/etc/roles.db
)