Feature #1031 ยป exiv2-cmake.patch
CMakeLists.txt (working copy) | ||
---|---|---|
89 | 89 |
endif() |
90 | 90 |
|
91 | 91 |
# link dependent libraries |
92 |
FIND_PACKAGE(EXPAT QUIET) |
|
92 | 93 |
if ( NOT EXPAT_LIBRARY ) |
93 | 94 |
set(EXPAT_LIBRARY ${CMAKE_SOURCE_DIR}/../${E}/$(ConfigurationName)/expat) |
94 | 95 |
set(EXPAT_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/../${E}/lib) |
... | ... | |
109 | 110 |
include_directories( ${SSH_INCLUDE_DIR}) |
110 | 111 |
endif() |
111 | 112 |
|
112 |
# FIND_PACKAGE(ZLIB QUIET)
|
|
113 |
FIND_PACKAGE(ZLIB QUIET)
|
|
113 | 114 |
if ( NOT ZLIB_FOUND ) |
114 | 115 |
set(ZLIB_LIBRARY ${CMAKE_SOURCE_DIR}/../${Z}/$(ConfigurationName)/zlib) |
115 | 116 |
set(ZLIB_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/../${Z}) |