blob: 92933b8586025f895fddb919855325ddfb933396 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
include(FindPackageHandleStandardArgs)
find_library(DPP_LIBRARY NAMES dpp)
find_package_handle_standard_args(dpp REQUIRED_VARS DPP_LIBRARY)
if (DPP_FOUND)
mark_as_advanced(DPP_LIBRARY)
endif()
if(DPP_FOUND AND NOT TARGET dpp::dpp)
add_library(dpp::dpp IMPORTED UNKNOWN)
set_property(TARGET dpp::dpp PROPERTY IMPORTED_LOCATION ${DPP_LIBRARY})
endif()
|