Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 16b64c3

Browse files
blueyedjustinmk
authored andcommittedSep 6, 2019
build: rename CMake find modules for LibFindMacros neovim#10928
We are using "LIBFOO" prefixes for `LIBFOO_INCLUDE_DIRS` etc, and therefore need to use this for the PREFIX with LibFindMacros also, so that `"${${PREFIX}_FIND_VERSION}"` gets handled there properly. The alternative would be to either manually handle/set the upper/mixed case variants of those variable additionally, which is not as easy. Keeping the existing names is useful for packagers. Before this the version requirements with `find_package(Unibilium 2.0 REQUIRED)` was not handled (a49cf51), and it prepares for using a required version with libvterm (initially/wrongly ported in 1896c72).
1 parent 754ea8d commit 16b64c3

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ endif()
408408
option(FEAT_TUI "Enable the Terminal UI" ON)
409409

410410
if(FEAT_TUI)
411-
find_package(Unibilium 2.0 REQUIRED)
411+
find_package(UNIBILIUM 2.0 REQUIRED)
412412
include_directories(SYSTEM ${UNIBILIUM_INCLUDE_DIRS})
413413

414414
list(APPEND CMAKE_REQUIRED_INCLUDES "${UNIBILIUM_INCLUDE_DIRS}")
@@ -432,7 +432,7 @@ if(FEAT_TUI)
432432
include_directories(SYSTEM ${LIBTERMKEY_INCLUDE_DIRS})
433433
endif()
434434

435-
find_package(LibVterm REQUIRED)
435+
find_package(LIBVTERM REQUIRED)
436436
include_directories(SYSTEM ${LIBVTERM_INCLUDE_DIRS})
437437

438438
if(WIN32)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.