From 97d2fa39c5452ed36a6c2cb2b6b603460d574a80 Mon Sep 17 00:00:00 2001 From: Micael Oliveira Date: Tue, 17 Oct 2023 14:59:36 +1100 Subject: [PATCH] Add installation of OM3 executables to CMakeLists. --- CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 157a025..5a0dcce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -207,4 +207,13 @@ endforeach() # Install or Export # #]==============================================================================] -# TODO +## Installs +foreach(CONF IN LISTS KnownConfigurations) + if(NOT OM3_ENABLE_${CONF}) + continue() + endif() + + install(TARGETS OM3_${CONF} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) +endforeach()