Fix. Issue: #844. Do not link MSVC builds with library dl. Thanks Daniel for reporting this
This commit is contained in:
+3
-2
@@ -202,10 +202,11 @@ SET_TARGET_PROPERTIES( exiv2lib PROPERTIES
|
||||
|
||||
if ( MSVC )
|
||||
source_group("Header Files" FILES ${LIBEXIV2_HDR} )
|
||||
TARGET_LINK_LIBRARIES( exiv2lib ${EXPAT_LIBRARIES} )
|
||||
else()
|
||||
TARGET_LINK_LIBRARIES( exiv2lib dl ${EXPAT_LIBRARIES} )
|
||||
endif()
|
||||
|
||||
TARGET_LINK_LIBRARIES( exiv2lib dl ${EXPAT_LIBRARIES} )
|
||||
|
||||
if( EXIV2_ENABLE_LIBXMP )
|
||||
ADD_DEPENDENCIES( exiv2lib xmp )
|
||||
LINK_DIRECTORIES(${LIBRARY_OUTPUT_PATH}/$(ConfigurationName))
|
||||
|
||||
Reference in New Issue
Block a user