Blame SOURCES/cmake-gnuinstalldirs.patch

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