diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2016-07-21 02:26:24 +0200 |
|---|---|---|
| committer | Endi S. Dewata <edewata@redhat.com> | 2016-07-26 21:18:14 +0200 |
| commit | 3f4c9e4e7946f3f330b71cfe36a00ae933de2575 (patch) | |
| tree | 760d492df7b59ad1042e30676a292617f999b684 /base/tps-client/src/modules | |
| parent | a307cf68e91327ddbef4b9d7e2bbd3991354831f (diff) | |
| download | pki-3f4c9e4e7946f3f330b71cfe36a00ae933de2575.tar.gz pki-3f4c9e4e7946f3f330b71cfe36a00ae933de2575.tar.xz pki-3f4c9e4e7946f3f330b71cfe36a00ae933de2575.zip | |
Added CMake target dependencies.
To help troubleshooting build issues, some CMake dependencies have
been added to some targets even though the actual codes do not
require those dependencies. This will ensure the targets are built
sequentially so build failures can be found more easily at the end
of the build log.
https://fedorahosted.org/pki/ticket/2403
Diffstat (limited to 'base/tps-client/src/modules')
| -rw-r--r-- | base/tps-client/src/modules/tokendb/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | base/tps-client/src/modules/tps/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/base/tps-client/src/modules/tokendb/CMakeLists.txt b/base/tps-client/src/modules/tokendb/CMakeLists.txt index 7b6edae91..94db88e8c 100644 --- a/base/tps-client/src/modules/tokendb/CMakeLists.txt +++ b/base/tps-client/src/modules/tokendb/CMakeLists.txt @@ -31,6 +31,7 @@ set(tokendb_module_SRCS include_directories(${TOKENDB_PRIVATE_INCLUDE_DIRS}) add_library(${TOKENDB_MODULE} MODULE ${tokendb_module_SRCS}) +add_dependencies(${TOKENDB_MODULE} pki-tps-jar) target_link_libraries(${TOKENDB_MODULE} ${TOKENDB_LINK_LIBRARIES}) set_target_properties(${TOKENDB_MODULE} diff --git a/base/tps-client/src/modules/tps/CMakeLists.txt b/base/tps-client/src/modules/tps/CMakeLists.txt index 275d8b30a..ac990e5f2 100644 --- a/base/tps-client/src/modules/tps/CMakeLists.txt +++ b/base/tps-client/src/modules/tps/CMakeLists.txt @@ -35,6 +35,7 @@ set(tps_module_SRCS include_directories(${TPS_PRIVATE_INCLUDE_DIRS}) add_library(${TPS_MODULE} MODULE ${tps_module_SRCS}) +add_dependencies(${TPS_MODULE} pki-tps-jar) target_link_libraries(${TPS_MODULE} ${TPS_LINK_LIBRARIES}) set_target_properties(${TPS_MODULE} |
