diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-12-24 22:59:03 +0100 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-12-24 22:59:03 +0100 |
commit | bddbeb98b3db8d435de6b2d10269640121475538 (patch) | |
tree | 1a791f5dd49b94ead503b9b77c6b9277f2701a89 /src/CMakeLists.txt | |
parent | c73a0e24a0d5c510a65efbe5c2fbc7fd39a3c003 (diff) | |
parent | 74d6e04c21bddd435bd74c34dbe027b883772a76 (diff) | |
download | atracdenc-bddbeb98b3db8d435de6b2d10269640121475538.tar.gz |
Merge branch 'master' into at3plus-dev
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 75d75bc..d40f6e6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,10 +32,6 @@ set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules") enable_cxx_compiler_flag_if_supported("-Wall") enable_cxx_compiler_flag_if_supported("-Wextra") -if (ATDE_USE_FLOAT) - add_compile_definitions(ATDE_USE_FLOAT) -endif() - if (WIN32) add_compile_definitions(PLATFORM_WINDOWS) add_compile_definitions(_CRT_SECURE_NO_WARNINGS) @@ -71,12 +67,7 @@ set(SOURCE_FFT_LIB lib/fft/kissfft_impl/tools/kiss_fftr.c ) -if (ATDE_USE_FLOAT) - set_source_files_properties(${SOURCE_FFT_LIB} PROPERTIES COMPILE_FLAGS -Dkiss_fft_scalar=float) -else() - set_source_files_properties(${SOURCE_FFT_LIB} PROPERTIES COMPILE_FLAGS -Dkiss_fft_scalar=double) - set(GHA_USE_DOUBLE_API YES) -endif() +set_source_files_properties(${SOURCE_FFT_LIB} PROPERTIES COMPILE_FLAGS -Dkiss_fft_scalar=float) add_library(fft_impl STATIC ${SOURCE_FFT_LIB}) set(GHA_FFT_LIB fft_impl) |