Browse Source

FindIntl use NAMES_PER_DIR

Signed-off-by: Sibi Siddharthan <[email protected]>
Sibi Siddharthan 5 years ago
parent
commit
ec6bbfd58d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindIntl.cmake

+ 1 - 1
Modules/FindIntl.cmake

@@ -40,7 +40,7 @@ find_path(Intl_INCLUDE_DIR
 mark_as_advanced(Intl_INCLUDE_DIR)
 
 # Find all Intl libraries
-find_library(Intl_LIBRARY "intl"
+find_library(Intl_LIBRARY "intl" NAMES_PER_DIR
   DOC "libintl libraries (if not in the C library)")
 mark_as_advanced(Intl_LIBRARY)