From 4a6f24b338ca1a5d35d180d3eafd43caa7773b62 Mon Sep 17 00:00:00 2001 From: Oliver Lantwin Date: Thu, 4 Jun 2026 17:22:06 +0200 Subject: [PATCH] fix: install apps/ executables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit build_geometry and validate_geometry are first-class CLI tools but were never installed — apps/CMakeLists.txt defined them but had no install rule. Packaged builds (conda recipe, distros) silently lost both tools. Add install(TARGETS build_geometry validate_geometry RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}). Pull GNUInstallDirs in locally in apps/ — the top-level file's include comes too late to be visible here. --- apps/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index bf14c28..f1a550f 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -13,3 +13,9 @@ target_link_libraries( add_executable(validate_geometry validate_geometry.cpp) target_link_libraries(validate_geometry PRIVATE SQLite::SQLite3) + +include(GNUInstallDirs) +install( + TARGETS build_geometry validate_geometry + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +)