Displaying 1 result from an estimated 1 matches for "fftw_include_dir".
2017 May 29
0
[PATCH] Add CMake build script
...+ PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include/speex>
+ PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+ PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
+if(USE_GPL_FFTW3)
+ target_include_directories(speex
+ PRIVATE $<BUILD_INTERFACE:${FFTW_INCLUDE_DIRS}>)
+ if(BUILD_SHARED_LIBS)
+ target_link_libraries(speex PRIVATE ${FFTW_LIBRARIES})
+ else()
+ target_link_libraries(speex PUBLIC ${FFTW_LIBRARIES})
+ endif()
+endif()
+if(HAVE_LIBM)
+ if(BUILD_SHARED_LIBS)
+ target_link_libraries(speex PRIVATE ${LIBM})
+ else()
+ target_link_libraries(spee...