neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

FindUnibilium.cmake (435B)


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