Ticket #68555: FFTW3LibraryDepends.cmake

File FFTW3LibraryDepends.cmake, 2.5 KB (added by vk1kcm (Carl Makin), 13 months ago)

Hand modified cmake depends file

Line 
1# Generated by CMake
2
3if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4   message(FATAL_ERROR "CMake >= 2.8.0 required")
5endif()
6if(CMAKE_VERSION VERSION_LESS "2.8.3")
7   message(FATAL_ERROR "CMake >= 2.8.3 required")
8endif()
9cmake_policy(PUSH)
10cmake_policy(VERSION 2.8.3...3.22)
11#----------------------------------------------------------------
12# Generated CMake target import file.
13#----------------------------------------------------------------
14
15# Commands may need to know the format version.
16set(CMAKE_IMPORT_FILE_VERSION 1)
17
18# Protect against multiple inclusion, which would fail when already imported targets are added once more.
19set(_cmake_targets_defined "")
20set(_cmake_targets_not_defined "")
21set(_cmake_expected_targets "")
22foreach(_cmake_expected_target IN ITEMS FFTW3::fftw3f)
23  list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24  if(TARGET "${_cmake_expected_target}")
25    list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26  else()
27    list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28  endif()
29endforeach()
30unset(_cmake_expected_target)
31if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32  unset(_cmake_targets_defined)
33  unset(_cmake_targets_not_defined)
34  unset(_cmake_expected_targets)
35  unset(CMAKE_IMPORT_FILE_VERSION)
36  cmake_policy(POP)
37  return()
38endif()
39if(NOT _cmake_targets_defined STREQUAL "")
40  string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41  string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42  message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43endif()
44unset(_cmake_targets_defined)
45unset(_cmake_targets_not_defined)
46unset(_cmake_expected_targets)
47
48
49# Create imported target FFTW3::fftw3f
50add_library(FFTW3::fftw3f SHARED IMPORTED)
51
52set_target_properties(FFTW3::fftw3f PROPERTIES
53  INTERFACE_LINK_LIBRARIES "m"
54)
55
56# Import target "FFTW3::fftw3f" for configuration "Release"
57set_property(TARGET FFTW3::fftw3f APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
58set_target_properties(FFTW3::fftw3f PROPERTIES
59  IMPORTED_LOCATION_RELEASE "/opt/local/lib/libfftw3f.3.dylib"
60  IMPORTED_SONAME_RELEASE "@rpath/libfftw3f.3.6.9.dylib"
61  )
62
63# This file does not depend on other imported targets which have
64# been exported from the same project but in a separate export set.
65
66# Commands beyond this point should not need to know the version.
67set(CMAKE_IMPORT_FILE_VERSION)
68cmake_policy(POP)