Skip to content

Commit 8620a48

Browse files
mgornyjhuber6
andauthored
Apply suggestions from code review
Co-authored-by: Joseph Huber <[email protected]>
1 parent f979508 commit 8620a48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

offload/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,12 @@ add_subdirectory(liboffload)
386386
add_subdirectory(test)
387387

388388
# Add unit tests if GMock/GTest is present
389-
if (NOT LLVM_THIRD_PARTY_DIR)
389+
if(NOT LLVM_THIRD_PARTY_DIR)
390390
set(LLVM_THIRD_PARTY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../third-party")
391391
endif()
392-
if (EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest)
392+
if(EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest)
393393
add_subdirectory(${LLVM_THIRD_PARTY_DIR}/unittest ${CMAKE_CURRENT_BINARY_DIR}/third-party/unittest)
394394
endif()
395-
if (TARGET llvm_gtest)
395+
if(TARGET llvm_gtest)
396396
add_subdirectory(unittests)
397397
endif()

0 commit comments

Comments
 (0)