mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
12 lines
433 B
CMake
12 lines
433 B
CMake
find_path(UNIBILIUM_INCLUDE_DIR unibilium.h)
|
|
find_library(UNIBILIUM_LIBRARY unibilium)
|
|
|
|
find_package_handle_standard_args(Unibilium
|
|
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})
|
|
|
|
mark_as_advanced(UNIBILIUM_INCLUDE_DIR UNIBILIUM_LIBRARY)
|