From bc8495dba1dbb708579e6cfb9be3a7e0a32817f0 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sat, 5 Oct 2013 13:49:22 +0000 Subject: [PATCH] When building modules with prereqs, search httpd include dirs before prereq include dirs in case httpd is installed to the same place as the prereq, in which case we might be using an older httpd .h file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529452 13f79535-47bb-0310-9956-ffa450edef68 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b700d51ac..e067b9ba02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -730,7 +730,7 @@ FOREACH (mod ${MODULE_PATHS}) # Extra includes? SET(mod_extra_includes "${mod_name}_extra_includes") IF(NOT "${${mod_extra_includes}}" STREQUAL "") - SET(tmp_includes ${${mod_extra_includes}} ${HTTPD_INCLUDE_DIRECTORIES}) + SET(tmp_includes ${HTTPD_INCLUDE_DIRECTORIES} ${${mod_extra_includes}}) SET_TARGET_PROPERTIES(${mod_name} PROPERTIES INCLUDE_DIRECTORIES "${tmp_includes}") GET_PROPERTY(tmp_includes TARGET ${mod_name} PROPERTY INCLUDE_DIRECTORIES) ENDIF() -- 2.40.0