From 752a5785f0f352b7e2ce4f2ba0ee8ea3eb3be587 Mon Sep 17 00:00:00 2001 From: Ned Wright Date: Mon, 8 Jan 2024 12:17:30 +0000 Subject: [PATCH] Improve library decection --- nodes/orchestration/CMakeLists.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/nodes/orchestration/CMakeLists.txt b/nodes/orchestration/CMakeLists.txt index f2aea56..c83ef96 100755 --- a/nodes/orchestration/CMakeLists.txt +++ b/nodes/orchestration/CMakeLists.txt @@ -106,6 +106,11 @@ execute_process ( OUTPUT_VARIABLE crypto2 ) install(FILES ${crypto2} DESTINATION orchestration/lib) +execute_process ( + COMMAND sh -c "find /usr/lib/x86_64-linux-gnu -name \"libcrypto.so*\" | awk '{printf $0\";\"}'" + OUTPUT_VARIABLE crypto3 +) +install(FILES ${crypto3} DESTINATION orchestration/lib) execute_process ( COMMAND sh -c "find /usr/lib* -maxdepth 1 -name \"libssl.so*\" | awk '{printf $1\";\"}'" @@ -117,6 +122,11 @@ execute_process ( OUTPUT_VARIABLE ssl2 ) install(FILES ${ssl2} DESTINATION orchestration/lib) +execute_process ( + COMMAND sh -c "find /usr/lib/x86_64-linux-gnu -name \"libssl.so*\" | awk '{printf $1\";\"}'" + OUTPUT_VARIABLE ssl3 +) +install(FILES ${ssl3} DESTINATION orchestration/lib) execute_process ( COMMAND sh -c "find /usr/lib* -name \"libcurl.so*\" | awk '{printf $1\";\"}'" @@ -128,6 +138,11 @@ execute_process ( OUTPUT_VARIABLE curl2 ) install(FILES ${curl2} DESTINATION orchestration/lib) +execute_process ( + COMMAND sh -c "find /usr/lib/x86_64-linux-gnu -name \"libcurl.so*\" | awk '{printf $1\";\"}'" + OUTPUT_VARIABLE curl3 +) +install(FILES ${curl3} DESTINATION orchestration/lib) execute_process ( COMMAND sh -c "find /usr/lib* -name \"libz.so*\" | awk '{printf $0\";\"}'" @@ -135,7 +150,6 @@ execute_process ( ) install(FILES ${z} DESTINATION orchestration/lib) - install(DIRECTORY scripts DESTINATION orchestration USE_SOURCE_PERMISSIONS) gen_help(