mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
should have been if NOT defined
This commit is contained in:
parent
fdff84a168
commit
d7b12661e5
@ -23,9 +23,9 @@ macro(build_serial)
|
|||||||
endif()
|
endif()
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
||||||
IF(DEFINED BUILD_NO_CLANG)
|
IF(NOT DEFINED BUILD_NO_CLANG)
|
||||||
option(BUILD_NO_CLANG "Do not use the Clang compiler." OFF)
|
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
|
# Use clang if available
|
||||||
IF(EXISTS /usr/bin/clang AND NOT BUILD_NO_CLANG)
|
IF(EXISTS /usr/bin/clang AND NOT BUILD_NO_CLANG)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user