mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
304 B
CMake
9 lines
304 B
CMake
find_library(CLN_LIBRARY NAMES cln)
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(CLN DEFAULT_MSG CLN_LIBRARY)
|
|
|
|
if(CLN_FOUND AND NOT TARGET CLN::CLN)
|
|
add_library(CLN::CLN UNKNOWN IMPORTED)
|
|
set_property(TARGET CLN::CLN PROPERTY IMPORTED_LOCATION ${CLN_LIBRARY})
|
|
endif()
|