summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-19 19:23:45 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-19 19:23:45 +0200
commit9b2599950e586b5d52efd82aacc37b213d2af809 (patch)
treebc2d826904c80db886e27f2064840db46b4af86a
parentda26a2f7f7a5eb1629a60a6d4a59614185462ac1 (diff)
cmake: create empty presets dir on install
-rw-r--r--cmake/opentrack-install.cmake2
1 files changed, 2 insertions, 0 deletions
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")