summaryrefslogtreecommitdiffstats
path: root/Modules/FindIntl.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-26 17:00:06 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-26 17:00:35 (GMT)
commit8b30e7adfb1b5ede0d7ba7103a856b8989067484 (patch)
treecbf451af453f1b744968082f8e804bbf6a79347f /Modules/FindIntl.cmake
parent9d4a0f12fb983e88835059e9b74a18918ef08e7c (diff)
downloadCMake-8b30e7adfb1b5ede0d7ba7103a856b8989067484.zip
CMake-8b30e7adfb1b5ede0d7ba7103a856b8989067484.tar.gz
CMake-8b30e7adfb1b5ede0d7ba7103a856b8989067484.tar.bz2
FindIntl: Use explicit find_library signature NAMES keyword
Diffstat (limited to 'Modules/FindIntl.cmake')
-rw-r--r--Modules/FindIntl.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindIntl.cmake b/Modules/FindIntl.cmake
index 038f4da..95eeabd 100644
--- a/Modules/FindIntl.cmake
+++ b/Modules/FindIntl.cmake
@@ -129,7 +129,9 @@ else()
DOC "libintl include directory")
mark_as_advanced(Intl_INCLUDE_DIR)
- find_library(Intl_LIBRARY "intl" "libintl" NAMES_PER_DIR
+ find_library(Intl_LIBRARY
+ NAMES "intl" "libintl"
+ NAMES_PER_DIR
DOC "libintl libraries (if not in the C library)")
mark_as_advanced(Intl_LIBRARY)
endif()