From 420b57757f3e13ac9ee726290d745958b1a5c281 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 30 Aug 2024 00:16:17 +0300 Subject: CMake: don't install meson files --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b971628..84a856b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -341,7 +341,9 @@ add_compile_definitions(DATAROOTDIR="${CMAKE_INSTALL_FULL_DATAROOTDIR}") # installable assets file(GLOB_RECURSE INSTALLABLE_ASSETS "assets/install/*") -install(FILES ${INSTALLABLE_ASSETS} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/hypr) +list(FILTER INSTALLABLE_ASSETS EXCLUDE REGEX "meson.build") +install(FILES ${INSTALLABLE_ASSETS} + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/hypr) # default config install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.conf -- cgit v1.2.3