Handle EXV_HAVE_INTTYPES_H in the new cmake file

v0.27.3
Luis Diaz Mas 8 years ago
parent f84d9cc871
commit 81cb503f7b

@ -31,8 +31,6 @@
#
# ConfigureChecks for exiv2
INCLUDE( CheckIncludeFile )
INCLUDE( GNUInstallDirs )
INCLUDE_DIRECTORIES( ${CMAKE_INCLUDE_PATH} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/xmpsdk/include )
@ -49,9 +47,6 @@ IF( EXIV2_ENABLE_COMMERCIAL )
ADD_DEFINITIONS( -DEXV_COMMERCIAL_VERSION )
ENDIF( EXIV2_ENABLE_COMMERCIAL )
# checking for Header files
check_include_file( "inttypes.h" have_inttypes_h )
# when removing support of VS solution files, get rid of this stuff
#VSslnCompat
IF (MSVC)

@ -42,6 +42,7 @@ check_include_file( "sys/mman.h" EXV_HAVE_SYS_MMAN_H )
check_include_file( "sys/stat.h" EXV_HAVE_SYS_STAT_H )
check_include_file( "sys/types.h" EXV_HAVE_SYS_TYPES_H )
check_include_file( "regex.h" EXV_HAVE_REGEX )
check_include_file( "inttypes.h" EXV_HAVE_INTTYPES_H )
if (NOT EXV_HAVE_LIBINTL_H)
set(EXV_ENABLE_NLS 0)

Loading…
Cancel
Save