From d2b92427dd572ee4fc78c02c31152208133ac980 Mon Sep 17 00:00:00 2001 From: Michael Brade Date: Wed, 29 Apr 2020 18:28:29 +0200 Subject: [PATCH] CMakeLists: allow to use minizip as a subproject with add_subdirectory add the build directory to the target_include_directories --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6152b820..ca55d8f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -685,7 +685,8 @@ elseif(WIN32) endif() endif() -target_include_directories(${PROJECT_NAME} PUBLIC $) +target_include_directories(${PROJECT_NAME} PUBLIC $ + $) # Install files if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)