Project

General

Profile

Patch #723 ยป installpcfile.patch

patch to fix instalation of pkg-config file - Johannes Wienke, 28 Aug 2010 03:00

View differences:

config/exiv2.pc.cmake (working copy)
6 6
Name: exiv2
7 7
Description: Exif and IPTC metadata library and tools
8 8
Version: @PACKAGE_VERSION@
9
URL: ${PACKAGE_URL}
9
URL: @PACKAGE_URL@
10 10
Libs: -L${libdir} -lexiv2 @EXV_LIB_STATIC@
11 11
Cflags: -I${includedir}
config/ConfigureChecks.cmake (working copy)
248 248
ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake")
249 249

  
250 250
IF( NOT MSVC )
251
    CONFIGURE_FILE( config/exiv2.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc )
251
    CONFIGURE_FILE( config/exiv2.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc @ONLY )
252 252
    INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc DESTINATION lib/pkgconfig )
253 253
    CONFIGURE_FILE( config/exiv2.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm)
254 254
    INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm DESTINATION lib/pkgconfig )
    (1-1/1)