mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
Cmake: make Boost mandatory and suggest fftw3f if not installed. Fixes issue #46
This commit is contained in:
parent
f546af58e9
commit
eadb500386
@ -53,7 +53,7 @@ find_package(Qt5Multimedia 5.0 REQUIRED)
|
|||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
|
|
||||||
find_package(Boost)
|
find_package(Boost REQUIRED)
|
||||||
find_package(FFTW3F)
|
find_package(FFTW3F)
|
||||||
|
|
||||||
if (NOT BUILD_DEBIAN)
|
if (NOT BUILD_DEBIAN)
|
||||||
|
@ -38,3 +38,10 @@ FIND_LIBRARY(
|
|||||||
INCLUDE(FindPackageHandleStandardArgs)
|
INCLUDE(FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FFTW3F DEFAULT_MSG FFTW3F_LIBRARIES FFTW3F_INCLUDE_DIRS)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FFTW3F DEFAULT_MSG FFTW3F_LIBRARIES FFTW3F_INCLUDE_DIRS)
|
||||||
MARK_AS_ADVANCED(FFTW3F_LIBRARIES FFTW3F_INCLUDE_DIRS FFTW3F_THREADS_LIBRARIES)
|
MARK_AS_ADVANCED(FFTW3F_LIBRARIES FFTW3F_INCLUDE_DIRS FFTW3F_THREADS_LIBRARIES)
|
||||||
|
|
||||||
|
if(FFTW3F_LIBRARIES AND FFTW3F_INCLUDE_DIRS AND FFTW3F_THREADS_LIBRARIES)
|
||||||
|
message(STATUS "Found FFTW3F: ${FFTW3F_INCLUDE_DIRS}, ${FFTW3F_LIBRARIES}, ${FFTW3F_THREADS_LIBRARIES}")
|
||||||
|
else()
|
||||||
|
set(CM256CC_FOUND FALSE CACHE INTERNAL "CM256CC found")
|
||||||
|
message(STATUS "FFTW3F not found. You should consider installing fftw3f")
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user