GNUInstallDirs is not supposed to be used conditionally

Always include it to fix cross-compiling. This should not break Windows.

Closes: https://github.com/mborgerding/kissfft/issues/65
This commit is contained in:
James Le Cuirot 2023-12-24 16:37:38 +00:00
parent 8f47a67f59
commit 8b308c28e5
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

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