"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/src/CMakeLists.txt" (12 Mar 2019, 686 Bytes) of package /linux/misc/libzip-1.5.2.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 1.5.0_vs_1.5.1.

    1 INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../lib ${CMAKE_CURRENT_BINARY_DIR}/..)
    2 
    3 CHECK_FUNCTION_EXISTS(getopt HAVE_GETOPT)
    4 IF(NOT HAVE_GETOPT)
    5   SET(SRC_EXTRA_FILES getopt.c)
    6 ENDIF(NOT HAVE_GETOPT)
    7 
    8 ADD_EXECUTABLE(zipcmp zipcmp.c ${SRC_EXTRA_FILES})
    9 TARGET_LINK_LIBRARIES(zipcmp zip)
   10 INSTALL(TARGETS zipcmp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
   11 
   12 ADD_EXECUTABLE(zipmerge zipmerge.c ${SRC_EXTRA_FILES})
   13 TARGET_LINK_LIBRARIES(zipmerge zip)
   14 INSTALL(TARGETS zipmerge RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
   15 
   16 ADD_EXECUTABLE(ziptool ziptool.c ${SRC_EXTRA_FILES})
   17 TARGET_LINK_LIBRARIES(ziptool zip)
   18 INSTALL(TARGETS ziptool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})