We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f979508 commit 8620a48Copy full SHA for 8620a48
offload/CMakeLists.txt
@@ -386,12 +386,12 @@ add_subdirectory(liboffload)
386
add_subdirectory(test)
387
388
# Add unit tests if GMock/GTest is present
389
-if (NOT LLVM_THIRD_PARTY_DIR)
+if(NOT LLVM_THIRD_PARTY_DIR)
390
set(LLVM_THIRD_PARTY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../third-party")
391
endif()
392
-if (EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest)
+if(EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest)
393
add_subdirectory(${LLVM_THIRD_PARTY_DIR}/unittest ${CMAKE_CURRENT_BINARY_DIR}/third-party/unittest)
394
395
-if (TARGET llvm_gtest)
+if(TARGET llvm_gtest)
396
add_subdirectory(unittests)
397
0 commit comments