mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-05-25 20:20:26 -04:00
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:
parent
8f47a67f59
commit
8b308c28e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user