Simplify checking for headers

This commit is contained in:
Andy Cedilnik
2002-09-20 14:16:43 -04:00
parent 5a08e1b6dc
commit 1d0d685049
2 changed files with 0 additions and 9 deletions
-1
View File
@@ -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})