git-svn-id: svn://db.shs.com.ru/pip@865 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -399,6 +399,7 @@ if (NOT PIP_FREERTOS)
|
||||
set(FFTW_LIB_SUFFIXES "" "f" "l" "q")
|
||||
set(FFTW_LIB_SUFFIXES2 "" "-3")
|
||||
set(FFTW_LIBS)
|
||||
set(FFTW_ABS_LIBS)
|
||||
set(PIP_FFTW_FOUND)
|
||||
set(CMAKE_REQUIRED_INCLUDES fftw3.h)
|
||||
foreach(FFTW_S_ IN LISTS FFTW_LIB_SUFFIXES)
|
||||
@@ -411,6 +412,7 @@ if (NOT PIP_FREERTOS)
|
||||
find_library(${FFTW_CLNT}_FOUND ${FFTW_CLNT})
|
||||
if(${FFTW_CLN}_FOUND)
|
||||
list(APPEND FFTW_LIBS "${FFTW_CLN}")
|
||||
list(APPEND FFTW_ABS_LIBS "${${FFTW_CLN}_FOUND}")
|
||||
#message(STATUS "PIFFTW found ${FFTW_CLN} = ${${FFTW_CLN}_FOUND}")
|
||||
set(${FFTW_CLN}_CTS "${FFTW_CLN}")
|
||||
if(${FFTW_CLNT}_FOUND)
|
||||
@@ -434,7 +436,7 @@ if (NOT PIP_FREERTOS)
|
||||
if(FFTW_LIBS)
|
||||
message(STATUS "Building PIP with fftw3 support: ${FFTW_LIBS}")
|
||||
add_library(pip_fftw ${PIP_LIB_TYPE} ${CPP_LIB_FFTW})
|
||||
target_link_libraries(pip_fftw pip ${FFTW_LIBS})
|
||||
target_link_libraries(pip_fftw pip ${FFTW_ABS_LIBS})
|
||||
list(APPEND LIBS_STATUS ${FFTW_LIBS})
|
||||
list(APPEND PIP_LIBS_TARGETS pip_fftw)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user