1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00

should have been if NOT defined

This commit is contained in:
David Hodo 2012-07-21 11:13:13 -05:00
parent fdff84a168
commit d7b12661e5

View File

@ -23,9 +23,9 @@ macro(build_serial)
endif()
endif(UNIX)
IF(DEFINED BUILD_NO_CLANG)
IF(NOT DEFINED BUILD_NO_CLANG)
option(BUILD_NO_CLANG "Do not use the Clang compiler." OFF)
ENDIF(DEFINED BUILD_NO_CLANG)
ENDIF(NOT DEFINED BUILD_NO_CLANG)
# Use clang if available
IF(EXISTS /usr/bin/clang AND NOT BUILD_NO_CLANG)