From 94d40d3736bd274eed373e40ab5a324bc11ebd0d Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Sun, 26 May 2019 11:47:43 +0200 Subject: [PATCH] correcting cmake zzipwrap includes --- zzipwrap/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zzipwrap/CMakeLists.txt b/zzipwrap/CMakeLists.txt index 32b569e..8bb391b 100644 --- a/zzipwrap/CMakeLists.txt +++ b/zzipwrap/CMakeLists.txt @@ -36,14 +36,14 @@ set(libzzipwrap_HDRS add_library(libzzipwrap ${libzzipwrap_SRCS} ) target_link_libraries(libzzipwrap libzzip ZLIB::ZLIB ) -target_include_directories(libzzipwrap PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_BUILD_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}") +target_include_directories(libzzipwrap PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}") set_target_properties(libzzipwrap PROPERTIES OUTPUT_NAME "zzipwrap" RELEASE_POSTFIX "-${RELNUM}") SET_TARGET_PROPERTIES(libzzipwrap PROPERTIES VERSION ${VERNUM}.${FIXNUM} SOVERSION ${VERNUM}) add_executable(zzipwrap ${zzipwrap_SRCS} ) target_link_libraries(zzipwrap libzzipwrap ) -target_include_directories(zzipwrap PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_BUILD_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}") +target_include_directories(zzipwrap PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}") if(UNIX) add_custom_command(OUTPUT zzipwrap.pc -- 2.40.0