robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

dundargocbuild: adjust how find order is prioritizedb80a8e2c16

master
435 B11 linesraw
1find_path2(UNIBILIUM_INCLUDE_DIR unibilium.h)
2find_library2(UNIBILIUM_LIBRARY unibilium)
3
4find_package_handle_standard_args(Unibilium
5  REQUIRED_VARS UNIBILIUM_INCLUDE_DIR UNIBILIUM_LIBRARY)
6
7add_library(unibilium INTERFACE)
8target_include_directories(unibilium SYSTEM BEFORE INTERFACE ${UNIBILIUM_INCLUDE_DIR})
9target_link_libraries(unibilium INTERFACE ${UNIBILIUM_LIBRARY})
10
11mark_as_advanced(UNIBILIUM_INCLUDE_DIR UNIBILIUM_LIBRARY)