mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
qt5: Fix use of zlib using config.h
This commit is contained in:
parent
0b9714f8df
commit
4738ba0f1a
@ -716,6 +716,9 @@ if (CMAKE_GENERATOR MATCHES Xcode)
|
||||
MESSAGE(STATUS "---- Using XCode compiler CMAKE_XCODE_ATTRIBUTE_GCC_VERSION=${CMAKE_XCODE_ATTRIBUTE_GCC_VERSION}")
|
||||
ENDIF(CMAKE_GENERATOR MATCHES Xcode)
|
||||
|
||||
if (WIN32 AND Qt5Core_FOUND)
|
||||
set(Z_PREFIX 1)
|
||||
endif()
|
||||
|
||||
# compiler tests, config.h generation
|
||||
if(MSVC AND NOT LYX_CONFIGURE_CHECKS)
|
||||
|
@ -57,6 +57,8 @@
|
||||
#cmakedefine LYX_USE_TR1 1
|
||||
#cmakedefine LYX_USE_TR1_REGEX 1
|
||||
|
||||
#cmakedefine Z_PREFIX 1
|
||||
|
||||
#cmakedefine ASPELL_FOUND 1
|
||||
#ifdef ASPELL_FOUND
|
||||
#define USE_ASPELL 1
|
||||
|
Loading…
Reference in New Issue
Block a user