Blame SOURCES/cmake-gnuinstalldirs.patch

7aa4ff
From 429bd2860bf372448cdafdfe04e95a2f4329c3f6 Mon Sep 17 00:00:00 2001
7aa4ff
From: Vitaly Lipatov <lav@etersoft.ru>
7aa4ff
Date: Sun, 8 Nov 2020 02:53:18 +0300
7aa4ff
Subject: [PATCH] CMakeLists.txt: move GNUInstallDirs after project(NAME) to
7aa4ff
 fix warning
7aa4ff
7aa4ff
  Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
7aa4ff
  target architecture is known.  Please enable at least one language before
7aa4ff
  including GNUInstallDirs.
7aa4ff
7aa4ff
Signed-off-by: Vitaly Lipatov <lav@etersoft.ru>
7aa4ff
---
7aa4ff
 CMakeLists.txt | 2 +-
7aa4ff
 1 file changed, 1 insertion(+), 1 deletion(-)
7aa4ff
7aa4ff
diff --git a/CMakeLists.txt b/CMakeLists.txt
7aa4ff
index 93ab430549..e31038c086 100644
7aa4ff
--- a/CMakeLists.txt
7aa4ff
+++ b/CMakeLists.txt
7aa4ff
@@ -30,11 +30,11 @@ set(CMAKE_BUILD_TYPE_INIT "Release")
7aa4ff
 
7aa4ff
 include(CMakeScripts/HelperFunctions.cmake)
7aa4ff
 include(CMakeScripts/ConfigEnv.cmake)
7aa4ff
-include(GNUInstallDirs) # for the CMAKE_INSTALL_LIBDIR variable
7aa4ff
 
7aa4ff
 project(inkscape)
7aa4ff
 set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME inkscape) # needs to be before any install() commands
7aa4ff
 
7aa4ff
+include(GNUInstallDirs) # for the CMAKE_INSTALL_LIBDIR variable
7aa4ff
 include(CMakeScripts/ConfigPaths.cmake)
7aa4ff
 
7aa4ff
 set(PROJECT_NAME inkscape)
7aa4ff
-- 
7aa4ff
GitLab
7aa4ff