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