Explorar o código

FindIntl use NAMES_PER_DIR

Signed-off-by: Sibi Siddharthan <[email protected]>
Sibi Siddharthan %!s(int64=5) %!d(string=hai) anos
pai
achega
ec6bbfd58d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)