git-svn-id: svn://db.shs.com.ru/pip@326 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user