From c6ae79102a754ca292ae88762930dd950077da04 Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Thu, 19 Sep 2024 23:28:35 +0800 Subject: [PATCH] :bug: Fix CMAKE_INSTALL_BINDIR --- project-spec/meta-user/recipes-apps/autostart/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project-spec/meta-user/recipes-apps/autostart/CMakeLists.txt b/project-spec/meta-user/recipes-apps/autostart/CMakeLists.txt index 9847208..04aaee6 100644 --- a/project-spec/meta-user/recipes-apps/autostart/CMakeLists.txt +++ b/project-spec/meta-user/recipes-apps/autostart/CMakeLists.txt @@ -31,7 +31,7 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/systemd/system-preset/98-autostart.preset DESTINATION ${SYSTEMD_SYSTEM_PRESET_DIR}) include(GNUInstallDirs) -install(FILES scripts/post-burn-emmc.sh DESTINATION ${BINDIR}) +install(FILES scripts/post-burn-emmc.sh DESTINATION ${CMAKE_INSTALL_BINDIR}) if(BINARY) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/bin/weight.bin