Commit a33f6cce authored by Marco Berzborn's avatar Marco Berzborn

Linux compat: added pthread in CMakeLists

parent 7971141a
...@@ -11,6 +11,11 @@ vista_use_package( fftw ) ...@@ -11,6 +11,11 @@ vista_use_package( fftw )
vista_use_package( MKL ) vista_use_package( MKL )
#vista_find_package( FFTS ) #vista_find_package( FFTS )
if ( NOT WIN32 )
vista_use_package ( Threads REQUIRED )
list ( APPEND VISTA_USE_PACKAGE_LIBRARIES pthread )
endif ()
if( NOT DEFINED ITA_FFT_WITH_FFTW3 ) if( NOT DEFINED ITA_FFT_WITH_FFTW3 )
set( ITA_FFT_WITH_FFTW3 ON CACHE BOOL "Build with FFTW3 for fast fourier transforms" ) set( ITA_FFT_WITH_FFTW3 ON CACHE BOOL "Build with FFTW3 for fast fourier transforms" )
endif( ) endif( )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment