Skip to content

Commit

Permalink
#8 Adding INCLUDE_DIRECTORIES(${Intl_INCLUDE_DIRS})
Browse files Browse the repository at this point in the history
  • Loading branch information
clanmills committed Jun 4, 2017
1 parent 4e86c1d commit 88cf586
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/CMakeChecks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 88cf586

Please sign in to comment.