"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/examples/CMakeLists.txt" (12 Mar 2019, 411 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.

    1 CHECK_FUNCTION_EXISTS(getopt HAVE_GETOPT)
    2 IF(NOT HAVE_GETOPT)
    3   SET(SRC_EXTRA_FILES ../src/getopt.c)
    4 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}
    5   ${CMAKE_CURRENT_SOURCE_DIR}/../src)
    6 ENDIF(NOT HAVE_GETOPT)
    7 
    8 ADD_EXECUTABLE(in-memory in-memory.c)
    9 TARGET_LINK_LIBRARIES(in-memory zip)
   10 
   11 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../lib
   12 	${CMAKE_CURRENT_SOURCE_DIR}/../src
   13 	${CMAKE_CURRENT_BINARY_DIR}/..)