GNUInstallDirs is not supposed to be used conditionally (#91)

This commit is contained in:
James Le Cuirot
2025-11-28 20:41:52 +01:00
committed by GitHub
parent 8e2620a597
commit 1f5bbb1700
+1 -3
View File
@@ -105,9 +105,7 @@ endif()
# Add GNUInstallDirs for GNU infrastructure before target)include_directories
#
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING)
include(GNUInstallDirs)
endif()
include(GNUInstallDirs)
#
# Declare PKGINCLUDEDIR for kissfft include path