diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-03-02 22:50:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-02 22:50:43 +0100 |
| commit | 4cf4ae93df6af09ef3a0df678bb3d154b65bf731 (patch) | |
| tree | e9b47e7b94fe74f1f568cfbca89790716a1c0625 /src/nvim/po | |
| parent | f449121764c19cebda7b8b2c970b76bc8121bae7 (diff) | |
| download | rneovim-4cf4ae93df6af09ef3a0df678bb3d154b65bf731.tar.gz rneovim-4cf4ae93df6af09ef3a0df678bb3d154b65bf731.tar.bz2 rneovim-4cf4ae93df6af09ef3a0df678bb3d154b65bf731.zip | |
build: cmake cleanup (#22251)
- Remove unused code
- Use consistent casing. Variable names such as LibLuV_LIBRARIES is
needlessly jarring, even if the name might be technically correct.
- Use title casing for packages. find_package(unibilium) requires the
find_module to be named "Findunibilium.cmake", which makes it harder
to spot when scanning the files. Instead, use "Unibilium".
Diffstat (limited to 'src/nvim/po')
| -rw-r--r-- | src/nvim/po/CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/po/CMakeLists.txt b/src/nvim/po/CMakeLists.txt index 74f043fe03..68e572911c 100644 --- a/src/nvim/po/CMakeLists.txt +++ b/src/nvim/po/CMakeLists.txt @@ -95,7 +95,6 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) COMMENT "Checking ${name}.po" VERBATIM DEPENDS ${poFile}) - set_target_properties(check-po-${name} PROPERTIES FOLDER po/check) endmacro() macro(BuildPoIconvGenericWithCharset @@ -182,9 +181,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) BuildMo(${LANGUAGE}) endforeach() - set_target_properties(${UPDATE_PO_TARGETS} PROPERTIES FOLDER po/update) add_custom_target(translations ALL DEPENDS ${LANGUAGE_MO_FILES}) add_custom_target(update-po DEPENDS ${UPDATE_PO_TARGETS}) - set_target_properties(translations update-po PROPERTIES FOLDER po) endif() |