#8 Adding INCLUDE_DIRECTORIES(${Intl_INCLUDE_DIRS})

This commit is contained in:
clanmills 2017-06-04 09:07:14 +01:00
parent 4e86c1d61c
commit 88cf58613f

View File

@ -102,11 +102,12 @@ IF( EXIV2_ENABLE_NLS )
INCLUDE_DIRECTORIES(${Intl_INCLUDE_DIRS})
find_library(LIBINTL_LIBRARY NAMES intl libintl)
if(libintl_FOUND)
INCLUDE_DIRECTORIES(${Intl_INCLUDE_DIRS})
SET(LIBINTL_LIBRARIES ${LIBINTL_LIBRARY})
else()
SET(LIBINTL_LIBRARIES)
if ( APPLE OR CYGWIN )
SET(LIBINTL_LIBRARIES -lintl)
SET(LIBINTL_LIBRARIES -lintl)
endif()
endif()
endif()