]> granicus.if.org Git - apache/commitdiff
When building modules with prereqs, search httpd include dirs
authorJeff Trawick <trawick@apache.org>
Sat, 5 Oct 2013 13:49:22 +0000 (13:49 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 5 Oct 2013 13:49:22 +0000 (13:49 +0000)
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

index 1b700d51ac13a826acafb7913ed55df48dcaab89..e067b9ba02847651192813b8cf2c1d9f23164c48 100644 (file)
@@ -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()