Updating library finding

This commit is contained in:
Ned Wright 2023-12-13 17:23:43 +00:00
parent cfcf7b883e
commit 9d848264f3
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
add_subdirectory(cptest)
#add_subdirectory(cptest)
add_subdirectory(agent_core_utilities)
add_subdirectory(shell_cmd)
add_subdirectory(debug_is)

View File

@ -97,7 +97,7 @@ execute_process (
install(FILES ${boost_thread} DESTINATION orchestration/lib/boost)
execute_process (
COMMAND sh -c "find /usr/lib* -name \"libcrypto.so\" | awk '{printf $0\";\"}'"
COMMAND sh -c "find /usr/lib* -maxdepth 1 -name \"libcrypto.so*\" | awk '{printf $0\";\"}'"
OUTPUT_VARIABLE crypto
)
install(FILES ${crypto} DESTINATION orchestration/lib)
@ -108,7 +108,7 @@ execute_process (
install(FILES ${crypto2} DESTINATION orchestration/lib)
execute_process (
COMMAND sh -c "find /usr/lib* -name \"libssl.so\" | awk '{printf $1\";\"}'"
COMMAND sh -c "find /usr/lib* -maxdepth 1 -name \"libssl.so*\" | awk '{printf $1\";\"}'"
OUTPUT_VARIABLE ssl
)
install(FILES ${ssl} DESTINATION orchestration/lib)