1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

avoid policy error on old versions of cmake

This commit is contained in:
Oliver Hahn 2019-12-19 14:08:35 +01:00
parent f90778ba54
commit 3797ff0325

View file

@ -50,7 +50,9 @@ endif(ENABLE_MPI)
# FFTW
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
if(ENABLE_MPI)
find_package(FFTW3 COMPONENTS SINGLE DOUBLE OPENMP THREADS MPI)
else()