Fix definition of EXV_ENABLE_NLS

v0.27.3
Luis Díaz Más 7 years ago
parent e20329b8e0
commit 3009cc4c0c

@ -44,8 +44,6 @@ if ( NOT MINGW AND NOT MSYS AND NOT MSVC )
check_include_file( "regex.h" EXV_HAVE_REGEX_H )
endif()
if (NOT EXV_HAVE_LIBINTL_H)
set(EXV_ENABLE_NLS 0)
endif()
set(EXV_ENABLE_NLS ${EXV_HAVE_LIBINTL_H})
configure_file(cmake/config.h.cmake ${CMAKE_BINARY_DIR}/exv_conf.h @ONLY)

Loading…
Cancel
Save