equal
deleted
inserted
replaced
12 |
12 |
13 find_package(Qt4 REQUIRED) |
13 find_package(Qt4 REQUIRED) |
14 include(${QT_USE_FILE}) |
14 include(${QT_USE_FILE}) |
15 |
15 |
16 # Check if we need zlib |
16 # Check if we need zlib |
17 check_library_exists(${QT_QTCORE_LIBRARY} inflateInit2_ ${QT_LIBRARY_DIR} QT_PROVIDES_ZLIB_FUNCTIONS) |
17 check_library_exists("${QT_QTCORE_LIBRARY}" inflateInit2_ ${QT_LIBRARY_DIR} QT_PROVIDES_ZLIB_FUNCTIONS) |
18 |
18 |
19 if(NOT QT_PROVIDES_ZLIB_FUNCTIONS) |
19 if(NOT QT_PROVIDES_ZLIB_FUNCTIONS) |
20 find_package(ZLIB REQUIRED) |
20 find_package(ZLIB REQUIRED) |
21 |
21 |
22 set(HW_LINK_LIBS ${ZLIB_LIBRARIES} ${HW_LINK_LIBS}) |
22 set(HW_LINK_LIBS ${ZLIB_LIBRARIES} ${HW_LINK_LIBS}) |