Browse Source

FindIntl: Use explicit find_library signature NAMES keyword

Brad King 4 years ago
parent
commit
8b30e7adfb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Modules/FindIntl.cmake

+ 3 - 1
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()