From c7a444a05435c6480601aff4499b13628264fc47 Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Mon, 14 Jan 2019 13:43:00 -0800 Subject: [PATCH] fix cross-compile install failing --- interface/vmcs_host/linux/vcfiled/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/vmcs_host/linux/vcfiled/CMakeLists.txt b/interface/vmcs_host/linux/vcfiled/CMakeLists.txt index aed0e8318..c10e3b6a8 100644 --- a/interface/vmcs_host/linux/vcfiled/CMakeLists.txt +++ b/interface/vmcs_host/linux/vcfiled/CMakeLists.txt @@ -21,7 +21,7 @@ configure_file (etc/init.d/vcfiled ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled) # script to start up vcfiled at start of day install(PROGRAMS ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled - DESTINATION /etc/init.d) + DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/init.d) # install locally to the installation directory too install(PROGRAMS ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled DESTINATION ${VMCS_INSTALL_PREFIX}/share/install)