From 9b2599950e586b5d52efd82aacc37b213d2af809 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 19 Oct 2022 19:23:45 +0200 Subject: cmake: create empty presets dir on install --- cmake/opentrack-install.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index 9285ee36..3983c829 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -24,6 +24,8 @@ endfunction() otr_install_dir("${opentrack-doc}" ${CMAKE_SOURCE_DIR}/3rdparty-notices) otr_install_dir("${opentrack-doc}" "${CMAKE_SOURCE_DIR}/settings" "${CMAKE_SOURCE_DIR}/contrib") +INSTALL(CODE "FILE(MAKE_DIRECTORY \${CMAKE_INSTALL_PREFIX}/\${opentrack-hier-libexec}/presets)") + if(WIN32) otr_install_misc(. FILES "${CMAKE_SOURCE_DIR}/bin/qt.conf") otr_install_misc(. FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config") -- cgit v1.2.3