From e3d0cabb0929f2e9c271b4eecb129189fb4fb9a9 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 3 Sep 2022 20:06:33 +0200 Subject: [PATCH] cmake: Always show templates for all architectures --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d1c06f9..78a7047 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -872,6 +872,9 @@ file(GLOB_RECURSE PROJECT_DATA "data/*") # Media file(GLOB_RECURSE PROJECT_MEDIA "media/*") +# Templates +file(GLOB_RECURSE PROJECT_TEMPLATES "templates/*") + # Configure Files configure_file( "templates/config.hpp.in" @@ -905,7 +908,6 @@ if(D_PLATFORM_WINDOWS) # Windows Support "templates/windows/version.rc.in" "generated/version.rc" ) - LIST(APPEND PROJECT_TEMPLATES "templates/windows/version.rc.in") LIST(APPEND PROJECT_PRIVATE_GENERATED "${PROJECT_BINARY_DIR}/generated/version.rc") endif()