Quellcode durchsuchen

FindIntl use NAMES_PER_DIR

Signed-off-by: Sibi Siddharthan <[email protected]>
Sibi Siddharthan vor 5 Jahren
Ursprung
Commit
ec6bbfd58d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)