Project

General

Profile

Bug #852 ยป VSxmp.patch

Daniel Kaneider, 06 Oct 2012 03:31

View differences:

xmpsdk/CMakeLists.txt (working copy)
14 14
    IF(NOT MSVC AND NOT CYGWIN AND NOT MSYS)
15 15
        SET_SOURCE_FILES_PROPERTIES(${_currentfile} PROPERTIES COMPILE_FLAGS "-fPIC")
16 16
    ENDIF(NOT MSVC AND NOT CYGWIN AND NOT MSYS)
17
ENDFOREACH(_currentfile ${XMPSRC})
17
ENDFOREACH()
18 18

  
19 19
IF( EXIV2_ENABLE_XMP AND EXIV2_ENABLE_LIBXMP )
20
    ADD_LIBRARY( xmp STATIC ${XMPSRC} ${EXPAT_LIBRARIES} )
20
    ADD_LIBRARY( xmp STATIC ${XMPSRC} )
21 21
    GET_TARGET_PROPERTY( XMPLIB xmp LOCATION )
22 22
    TARGET_LINK_LIBRARIES(xmp ${EXPAT_LIBRARIES})
23 23
    # SET( XMPLIB ${XMPLIB} PARENT_SCOPE )
24 24
    # INSTALL(TARGETS xmp ${INSTALL_TARGET_STANDARD_ARGS} )
25
ENDIF( EXIV2_ENABLE_XMP AND EXIV2_ENABLE_LIBXMP )
25
ENDIF()
26 26

  
27 27
# That's all Folks!
28 28
##
    (1-1/1)