Skip to content

Commit 4dea21e

Browse files
mgornyvzakhari
andauthored
Apply suggestions from code review
Co-authored-by: Slava Zakharin <[email protected]>
1 parent 769ccb8 commit 4dea21e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if (FLANG_STANDALONE_BUILD)
9191

9292
# If the user specifies a relative path to LLVM_DIR, the calls to include
9393
# LLVM modules fail. Append the absolute path to LLVM_DIR instead.
94-
IF (LLVM_DIR)
94+
if (LLVM_DIR)
9595
get_filename_component(LLVM_DIR_ABSOLUTE ${LLVM_DIR}
9696
REALPATH BASE_DIR ${CMAKE_CURRENT_BINARY_DIR})
9797
list(APPEND CMAKE_MODULE_PATH ${LLVM_DIR_ABSOLUTE})
@@ -109,7 +109,7 @@ if (FLANG_STANDALONE_BUILD)
109109
# * a path relative to the path of this script.
110110
# Append the absolute path to CLANG_DIR so that find_package works in both
111111
# cases.
112-
IF (CLANG_DIR)
112+
if (CLANG_DIR)
113113
get_filename_component(
114114
CLANG_DIR_ABSOLUTE
115115
${CLANG_DIR}

0 commit comments

Comments
 (0)