mirror of
https://github.com/mborgerding/kissfft.git
synced 2026-02-12 10:10:04 -05:00
kissfft library is implemented only in C
By default, CMake assumes that the project is using both C and C++. By explicitly passing 'C' as argument of the project() macro, we tell CMake that only C is used, which prevents CMake from checking if a C++ compiler exists. Enable CXX for tests only for testcpp.cc.
This commit is contained in:
@ -8,6 +8,8 @@ endfunction()
|
||||
|
||||
set(KISSFFT_TEST_NUMFFTS 10000)
|
||||
|
||||
enable_language(CXX)
|
||||
|
||||
#
|
||||
# Add tools-independent fastfilt_* (../tools/fft_*) executable without adding a test
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user