]> granicus.if.org Git - apache/commit
CMake: use CMAKE_REQUIRED_INCLUDES to find APR macros
authorJacob Champion <jchampion@apache.org>
Tue, 12 Jul 2016 19:13:34 +0000 (19:13 +0000)
committerJacob Champion <jchampion@apache.org>
Tue, 12 Jul 2016 19:13:34 +0000 (19:13 +0000)
commit91059cd2f71589890ec43fe07950a8581d40547d
tree83b237b94054475c9358a6c5ad3ce6df1f7d3396
parent14b9c1b9ff85b173fe73b538e93aa9c3eb6ee67b
CMake: use CMAKE_REQUIRED_INCLUDES to find APR macros

When using CMake with Visual Studio on Windows, invoking the
CHECK_SYMBOL_EXISTS macro with the full paths to the include files seems
to always result in failure.

Instead, use the documented CMAKE_REQUIRED_INCLUDES variable to set the
include directory, and pass only the headers' base names to
CHECK_SYMBOL_EXISTS.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1752331 13f79535-47bb-0310-9956-ffa450edef68
CMakeLists.txt