Patch #1192 » cmake_libdl.diff
src/CMakeLists.txt (working copy) | ||
---|---|---|
238 | 238 |
OUTPUT_NAME exiv2 |
239 | 239 |
) |
240 | 240 | |
241 |
IF ( UNIX ) |
|
242 |
IF ( NOT CYGWIN AND NOT MINGW ) |
|
243 |
SET (LINUX 1) |
|
244 |
ENDIF() |
|
245 |
ENDIF() |
|
246 | ||
247 | 241 |
if ( MSVC ) |
248 | 242 |
source_group("Header Files" FILES ${LIBEXIV2_HDR} ) |
249 | 243 |
TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${EXPAT_LIBRARIES} ) |
... | ... | |
252 | 246 |
source_group("Header Files" FILES ${SSH_HDR} ) |
253 | 247 |
TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${SSH_LIBRARIES} ) |
254 | 248 |
else() |
255 |
if ( LINUX )
|
|
249 |
if ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
|
|
256 | 250 |
TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} dl ${EXPAT_LIBRARIES} ) |
257 | 251 |
TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} dl ${CURL_LIBRARIES} ) |
258 | 252 |
TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} dl ${SSH_LIBRARIES} ) |
- « Previous
- 1
- 2
- Next »