git-svn-id: svn://db.shs.com.ru/pip@326 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-03-31 15:58:45 +00:00
parent 30aaec60a8
commit d79392ecf3
2 changed files with 71 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ option(ICU "Unicode support" 1)
option(USB "USB support" 0)
option(STL "Building with STL containers" 0)
option(CRYPT "Crypt support" 0)
option(FFTW "fftw3 support for PIFFT" 1)
option(INTROSPECTION_CONTAINERS "Build with containers introspection" 0)
option(INTROSPECTION_THREADS "Build with threads introspection" 0)
option(LIB "System install" 1)
@@ -142,6 +143,16 @@ else ()
endif ()
# Check if PIP support fftw3 for PIFFT using in math module
if (FFTW)
message(STATUS "Building with fftw3 support")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_FFTW")
list(APPEND LIBS fftw3-3 fftw3f-3 fftw3l-3)
else ()
message(STATUS "Building without fftw3 support")
endif ()
# Check if PIP should be built with containers introspection
if (INTROSPECTION_CONTAINERS)
message(STATUS "Building with containers introspection")