Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112079
Findcpr.cmake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
566 B
Referenced Files
None
Subscribers
None
Findcpr.cmake
View Options
find_path
(
cpr_INCLUDE_DIR
NAMES
cpr.h
PATH_SUFFIXES
cpr
)
find_library
(
cpr_LIBRARY
NAMES
cpr
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
cpr
FOUND_VAR
cpr_FOUND
REQUIRED_VARS
cpr_LIBRARY
cpr_INCLUDE_DIR
)
if
(
cpr_FOUND
AND
NOT
TARGET
cpr::cpr
)
add_library
(
cpr::cpr
UNKNOWN
IMPORTED
)
set_target_properties
(
cpr::cpr
PROPERTIES
IMPORTED_LOCATION
"${cpr_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES
"${cpr_INCLUDE_DIR};${cpr_INCLUDE_DIR}/.."
)
message
(
STATUS
"cpr include dir: ${cpr_INCLUDE_DIR}"
)
endif
()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 12:23 AM (10 m, 10 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38781
Default Alt Text
Findcpr.cmake (566 B)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment