Lines Matching refs:PACKAGE_NAME
15 set (@PACKAGE_PREFIX@_TARGET_NAMESPACE @PACKAGE_NAME@)
17 include ("${CMAKE_CURRENT_LIST_DIR}/@PACKAGE_NAME@-nonamespace-targets.cmake")
37 if (@PACKAGE_NAME@_FIND_COMPONENTS)
38 foreach (@PACKAGE_NAME@_FIND_COMPONENT IN LISTS @PACKAGE_NAME@_FIND_COMPONENTS)
39 …if (@PACKAGE_NAME@_FIND_REQUIRED_${@PACKAGE_NAME@_FIND_COMPONENT} AND NOT TARGET @PACKAGE_NAME@_${…
40 …message (FATAL_ERROR "Package @PACKAGE_NAME@ was installed without required component ${@PACKAGE_N…
43 list (GET @PACKAGE_NAME@_FIND_COMPONENTS 0 @PACKAGE_NAME@_FIND_COMPONENT)
45 set (@PACKAGE_NAME@_FIND_COMPONENT)
52 # - find_package(@PACKAGE_NAME@ REQUIRED)
53 # - find_package(@PACKAGE_NAME@ COMPONENTS nothreads_static)
54 # - find_package(@PACKAGE_NAME@ COMPONENTS nothreads_shared)
55 # - find_package(@PACKAGE_NAME@ COMPONENTS static)
56 # - find_package(@PACKAGE_NAME@ COMPONENTS shared)
58 if (DEFINED @PACKAGE_NAME@_SHARED)
59 set (@PACKAGE_PREFIX@_SHARED ${@PACKAGE_NAME@_SHARED})
60 elseif (@PACKAGE_NAME@_FIND_COMPONENT)
61 if (@PACKAGE_NAME@_FIND_COMPONENT MATCHES "shared")
66 …GET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_shared OR TARGET ${@PACKAGE_PREFIX@_TARGET_PRE…
73 if (DEFINED @PACKAGE_NAME@_NOTHREADS)
74 set (@PACKAGE_PREFIX@_NOTHREADS ${@PACKAGE_NAME@_NOTHREADS})
75 elseif (@PACKAGE_NAME@_FIND_COMPONENT)
76 if (@PACKAGE_NAME@_FIND_COMPONENT MATCHES "nothreads")
81 …RGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}PACKAGE_NAME@_static OR TARGET ${@PACKAGE_PREFIX@_TARGET_PRE…
90 if (@PACKAGE_NAME@_TARGET)
91 set (@PACKAGE_PREFIX@_TARGET ${@PACKAGE_NAME@_TARGET})
94 set (@PACKAGE_PREFIX@_TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_nothreads_shared)
96 set (@PACKAGE_PREFIX@_TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_shared)
100 set (@PACKAGE_PREFIX@_TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_nothreads_static)
102 set (@PACKAGE_PREFIX@_TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_static)
107 …message (FATAL_ERROR "Your @PACKAGE_NAME@ installation does not contain a ${@PACKAGE_PREFIX@_TARGE…
111 # add more convenient "${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@" import target
112 if (NOT TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@)
114 add_library (${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@ SHARED IMPORTED)
116 add_library (${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@ STATIC IMPORTED)
129 set_target_properties(${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@ PROPERTIES
136 …set_target_properties (${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@ PROPERTIES IMPORTED_CONFIGU…
150 set_target_properties(${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@ PROPERTIES
165 # set @PACKAGE_NAME@_* variables for backwards compatibility
166 if (NOT "^@PACKAGE_NAME@$" STREQUAL "^@PACKAGE_PREFIX@$")
176 …set (@PACKAGE_NAME@_${_@PACKAGE_PREFIX@_VARIABLE} "${@PACKAGE_PREFIX@_${_@PACKAGE_PREFIX@_VARIABLE…
182 unset (@PACKAGE_NAME@_FIND_COMPONENT)