1 # Generated by CMake 3.5.1
3 if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
4 message(FATAL_ERROR "CMake >= 2.6.0 required")
7 cmake_policy(VERSION 2.6)
8 #----------------------------------------------------------------
9 # Generated CMake target import file.
10 #----------------------------------------------------------------
12 # Commands may need to know the format version.
13 set(CMAKE_IMPORT_FILE_VERSION 1)
15 # Protect against multiple inclusion, which would fail when already imported targets are added once more.
17 set(_targetsNotDefined)
19 foreach(_expectedTarget LibCDS::cds LibCDS::cds-s)
20 list(APPEND _expectedTargets ${_expectedTarget})
21 if(NOT TARGET ${_expectedTarget})
22 list(APPEND _targetsNotDefined ${_expectedTarget})
24 if(TARGET ${_expectedTarget})
25 list(APPEND _targetsDefined ${_expectedTarget})
28 if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
29 set(CMAKE_IMPORT_FILE_VERSION)
33 if(NOT "${_targetsDefined}" STREQUAL "")
34 message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
36 unset(_targetsDefined)
37 unset(_targetsNotDefined)
38 unset(_expectedTargets)
41 # Compute the installation prefix relative to this file.
42 get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
43 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
44 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
45 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
47 # Create imported target LibCDS::cds
48 add_library(LibCDS::cds SHARED IMPORTED)
50 set_target_properties(LibCDS::cds PROPERTIES
51 INTERFACE_COMPILE_OPTIONS "-std=c++11;-mcx16"
52 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
55 # Create imported target LibCDS::cds-s
56 add_library(LibCDS::cds-s STATIC IMPORTED)
58 set_target_properties(LibCDS::cds-s PROPERTIES
59 INTERFACE_COMPILE_OPTIONS "-std=c++11;-mcx16"
60 INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
61 INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:-lpthread>"
64 if(CMAKE_VERSION VERSION_LESS 2.8.12)
65 message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
68 # Load information for each installed configuration.
69 get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
70 file(GLOB CONFIG_FILES "${_DIR}/LibCDSConfig-*.cmake")
71 foreach(f ${CONFIG_FILES})
75 # Cleanup temporary variables.
78 # Loop over all imported files and verify that they actually exist
79 foreach(target ${_IMPORT_CHECK_TARGETS} )
80 foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
81 if(NOT EXISTS "${file}" )
82 message(FATAL_ERROR "The imported target \"${target}\" references the file
84 but this file does not exist. Possible reasons include:
85 * The file was deleted, renamed, or moved to another location.
86 * An install or uninstall procedure did not complete successfully.
87 * The installation package was faulty and contained
88 \"${CMAKE_CURRENT_LIST_FILE}\"
89 but not all the files it references.
93 unset(_IMPORT_CHECK_FILES_FOR_${target})
95 unset(_IMPORT_CHECK_TARGETS)
97 # This file does not depend on other imported targets which have
98 # been exported from the same project but in a separate export set.
100 # Commands beyond this point should not need to know the version.
101 set(CMAKE_IMPORT_FILE_VERSION)