summaryrefslogtreecommitdiff
path: root/Modules/CheckIncludeFile.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 14:16:43 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 14:16:43 -0400
commit1d0d6850493b725b49f9889f20412dbdbee74554 (patch)
tree535a78fca0ff56a9bc8edeb0cce6009b781d8033 /Modules/CheckIncludeFile.cmake
parent5a08e1b6dcd1a476f7750839204205f54bef8e13 (diff)
downloadcmake-1d0d6850493b725b49f9889f20412dbdbee74554.tar.gz
Simplify checking for headers
Diffstat (limited to 'Modules/CheckIncludeFile.cmake')
-rw-r--r--Modules/CheckIncludeFile.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake
index f88c7caf61..8a35900403 100644
--- a/Modules/CheckIncludeFile.cmake
+++ b/Modules/CheckIncludeFile.cmake
@@ -13,7 +13,6 @@ MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
TRY_COMPILE(COMPILE_OK
${PROJECT_BINARY_DIR}
${PROJECT_BINARY_DIR}/CheckIncludeFile.c
- COMPILE_DEFINITIONS -DCHECK_INCLUDE_FILE="${INCLUDE}"
OUTPUT_VARIABLE OUTPUT)
IF(COMPILE_OK)
SET(${VARIABLE} ${COMPILE_OK})