2023-10-10 14:18:45 -07:00
|
|
|
find_path2(UNIBILIUM_INCLUDE_DIR unibilium.h)
|
|
|
|
find_library2(UNIBILIUM_LIBRARY unibilium)
|
2023-01-27 03:53:32 -07:00
|
|
|
|
2023-03-02 14:50:43 -07:00
|
|
|
find_package_handle_standard_args(Unibilium
|
2023-01-27 03:53:32 -07:00
|
|
|
REQUIRED_VARS UNIBILIUM_INCLUDE_DIR UNIBILIUM_LIBRARY)
|
|
|
|
|
|
|
|
add_library(unibilium INTERFACE)
|
|
|
|
target_include_directories(unibilium SYSTEM BEFORE INTERFACE ${UNIBILIUM_INCLUDE_DIR})
|
|
|
|
target_link_libraries(unibilium INTERFACE ${UNIBILIUM_LIBRARY})
|
|
|
|
|
2023-02-10 12:20:18 -07:00
|
|
|
mark_as_advanced(UNIBILIUM_INCLUDE_DIR UNIBILIUM_LIBRARY)
|