From f35d270b5551ae35e699163d78d451e5b7c247da Mon Sep 17 00:00:00 2001 From: Alexander Scheel Date: Mon, 14 Sep 2020 16:51:08 -0400 Subject: [PATCH 1/3] Add dependencies in Java11-specific libraries This ensures lib/ gets created prior to any Java11-specific symlinks. Signed-off-by: Alexander Scheel --- base/common/CMakeLists.txt | 1 + base/server/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/base/common/CMakeLists.txt b/base/common/CMakeLists.txt index c58393e01..26431bac0 100644 --- a/base/common/CMakeLists.txt +++ b/base/common/CMakeLists.txt @@ -48,6 +48,7 @@ add_custom_command( if(JAVA_VERSION GREATER 10) add_custom_target(pki-java11plus-lib ALL + DEPENDS pki-lib COMMENT "Creating links for library required in Java 11+") add_custom_command( diff --git a/base/server/CMakeLists.txt b/base/server/CMakeLists.txt index 599642277..62a5b68bd 100644 --- a/base/server/CMakeLists.txt +++ b/base/server/CMakeLists.txt @@ -118,6 +118,7 @@ add_custom_command( if(JAVA_VERSION GREATER 10) add_custom_target(pki-server-java11plus-lib ALL + DEPENDS pki-server-common-lib COMMENT "Creating links for server library required in Java 11+") add_custom_command( -- 2.26.2