Commit fa0e8b8 1 parent 828d759 commit fa0e8b8 Copy full SHA for fa0e8b8
File tree 4 files changed +12
-5
lines changed
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -462,6 +462,10 @@ if(ENABLE_TESTING)
462
462
add_definitions (-DQT_BUILD_INTERNAL)
463
463
endif ()
464
464
465
+ if (NOT WITH_ZLIB OR NOT ZLIB_FOUND)
466
+ katie_definition(-DQT_NO_COMPRESS)
467
+ endif ()
468
+
465
469
if (NOT WTIH_EGL OR NOT EGL_FOUND)
466
470
katie_definition(-DQT_NO_EGL)
467
471
endif ()
Original file line number Diff line number Diff line change 1
1
add_definitions (-DQT_BUILD_CORE_LIB)
2
- set (EXTRA_CORE_LIBS ${ZLIB_LIBRARIES} )
2
+ set (EXTRA_CORE_LIBS)
3
3
4
4
set (CORE_PUBLIC_HEADERS
5
5
${CORE_PUBLIC_HEADERS}
@@ -306,6 +306,13 @@ if(WITH_GLIB2 AND GLIB2_FOUND)
306
306
include_directories (${GLIB2_INCLUDE_DIR} )
307
307
endif ()
308
308
309
+ if (WITH_ZLIB AND ZLIB_FOUND)
310
+ set (EXTRA_CORE_LIBS
311
+ ${EXTRA_CORE_LIBS}
312
+ ${ZLIB_LIBRARIES}
313
+ )
314
+ include_directories (${ZLIB_INCLUDE_DIRS} )
315
+ endif ()
309
316
310
317
if (${KATIE_PLATFORM} STREQUAL "linux" )
311
318
set (EXTRA_CORE_LIBS
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ if(WITH_ZLIB AND ZLIB_FOUND)
60
60
${ZLIB_LIBRARIES}
61
61
)
62
62
include_directories (${ZLIB_INCLUDE_DIRS} )
63
- else ()
64
- katie_definition(-DQT_NO_COMPRESS)
65
63
endif ()
66
64
67
65
katie_generate_misc("${SVG_HEADERS} " QtSvg)
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ include_directories(
6
6
${CMAKE_BINARY_DIR} /privateinclude
7
7
${CMAKE_BINARY_DIR} /include /QtCore
8
8
${CMAKE_BINARY_DIR} /privateinclude/QtCore
9
- ${CMAKE_BINARY_DIR} /include /QtXml
10
- ${CMAKE_BINARY_DIR} /privateinclude/QtXml
11
9
${CMAKE_CURRENT_SOURCE_DIR}
12
10
${CMAKE_CURRENT_SOURCE_DIR} /cpp
13
11
${BOOTSTRAP_INCLUDES}
You can’t perform that action at this time.
0 commit comments