mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
18 lines
593 B
CMake
18 lines
593 B
CMake
|
# defined since 2.8.3
|
||
|
if (CMAKE_VERSION VERSION_LESS 2.8.3)
|
||
|
get_filename_component (CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||
|
endif ()
|
||
|
|
||
|
# Allows loading FFTW3 settings from another project
|
||
|
set (FFTW3_CONFIG_FILE "${CMAKE_CURRENT_LIST_FILE}")
|
||
|
|
||
|
set (FFTW3@PREC_SUFFIX@_LIBRARIES fftw3@PREC_SUFFIX@)
|
||
|
set (FFTW3@PREC_SUFFIX@_LIBRARY_DIRS @CMAKE_INSTALL_FULL_LIBDIR@)
|
||
|
set (FFTW3@PREC_SUFFIX@_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
|
||
|
|
||
|
include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake")
|
||
|
|
||
|
if (CMAKE_VERSION VERSION_LESS 2.8.3)
|
||
|
set (CMAKE_CURRENT_LIST_DIR)
|
||
|
endif ()
|