From 5735190b3a5a5e9b746940c7581364329fa6ca42 Mon Sep 17 00:00:00 2001 From: dgambarin <33480178+dgambarin@users.noreply.github.com> Date: Wed, 14 Dec 2022 08:00:37 +0200 Subject: [PATCH] Fix cmake install of cpnano_base64 in centos 7 --- core/encryptor/cpnano_base64/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/encryptor/cpnano_base64/CMakeLists.txt b/core/encryptor/cpnano_base64/CMakeLists.txt index 99dc15c..c54eba8 100755 --- a/core/encryptor/cpnano_base64/CMakeLists.txt +++ b/core/encryptor/cpnano_base64/CMakeLists.txt @@ -2,5 +2,5 @@ add_executable(cpnano_base64 cpnano_base64.cc base64.cc) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COMPILE_FLAGS}") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCC_LINK_FLAGS}") -install(PROGRAMS $ DESTINATION bin/) -install(PROGRAMS $ DESTINATION orchestration/) +install(TARGETS cpnano_base64 DESTINATION bin/) +install(TARGETS cpnano_base64 DESTINATION orchestration/)