33
33
34
34
@PACKAGE_INIT@
35
35
36
- set (ORC_VENDOR_DEPENDENCIES "@ORC_VENDOR_DEPENDENCIES@" )
37
36
set (ORC_SYSTEM_DEPENDENCIES "@ORC_SYSTEM_DEPENDENCIES@" )
38
37
39
38
if (DEFINED CMAKE_MODULE_PATH )
@@ -59,30 +58,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/orcTargets.cmake")
59
58
60
59
get_target_property (orc_static_configurations orc::orc IMPORTED_CONFIGURATIONS )
61
60
62
- foreach (dependency ${ORC_VENDOR_DEPENDENCIES} )
63
- string (REPLACE "|" ";" dependency_pair ${dependency} )
64
- list (LENGTH dependency_pair dependency_pair_length)
65
- if (NOT dependency_pair_length EQUAL 2)
66
- message (FATAL_ERROR "Invalid vendor dependency: ${dependency} " )
67
- endif ()
68
- list (GET dependency_pair 0 target_name)
69
- list (GET dependency_pair 1 static_lib_name)
70
-
71
- add_library ("${target_name} " STATIC IMPORTED )
72
-
73
- foreach (CONFIGURATION ${orc_static_configurations} )
74
- string (TOUPPER "${CONFIGURATION} " CONFIGURATION )
75
- get_target_property (orc_static_location orc::orc LOCATION_${CONFIGURATION} )
76
- get_filename_component (orc_lib_dir "${orc_static_location} " DIRECTORY )
77
- set_property (TARGET "${target_name} "
78
- APPEND
79
- PROPERTY IMPORTED_CONFIGURATIONS ${CONFIGURATION} )
80
- set_target_properties ("${target_name} "
81
- PROPERTIES IMPORTED_LOCATION_${CONFIGURATION}
82
- "${orc_lib_dir} /${static_lib_name} " )
83
- endforeach ()
84
- endforeach ()
85
-
86
61
check_required_components(orc)
87
62
88
63
foreach (BUILD_TYPE_SUFFIX
0 commit comments