Fix cmake install of cpnano_base64 in centos 7

This commit is contained in:
dgambarin 2022-12-14 08:00:37 +02:00 committed by GitHub
parent 7147b2d86b
commit 5735190b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 $<TARGET_FILE:cpnano_base64> DESTINATION bin/)
install(PROGRAMS $<TARGET_FILE:cpnano_base64> DESTINATION orchestration/)
install(TARGETS cpnano_base64 DESTINATION bin/)
install(TARGETS cpnano_base64 DESTINATION orchestration/)