From 87428d6977809c7e9afea08a5be425196897ff6c Mon Sep 17 00:00:00 2001
From: Guilherme Amadio <amadio@cern.ch>
Date: Wed, 24 Jul 2019 11:43:14 +0200
Subject: [PATCH] Add missing include needed by rpdutil

The rpdutil target currently relies on ${CMAKE_BINARY_DIR}/include
being added as a directory property as a side-effect of the call to
ROOT_LINKER_LIBRARY(SrvAuth).
---
 net/rpdutils/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/rpdutils/CMakeLists.txt b/net/rpdutils/CMakeLists.txt
index ae07f801690..edffdfe14e0 100644
--- a/net/rpdutils/CMakeLists.txt
+++ b/net/rpdutils/CMakeLists.txt
@@ -31,6 +31,7 @@ add_library(rpdutil STATIC
   src/rpdutils.cxx
 )
 
+target_include_directories(rpdutil PRIVATE ${CMAKE_BINARY_DIR}/include)
 target_link_libraries(rpdutil INTERFACE $<$<PLATFORM_ID:Linux>:crypt>)
 set_property(TARGET rpdutil PROPERTY POSITION_INDEPENDENT_CODE ON)
 add_dependencies(rpdutil move_headers)
-- 
GitLab