add_definitions( -DGTEST_HAS_PTHREAD=0 )
endif()
-set(LIBS
- LLVMSupport # Depends on llvm::raw_ostream
-)
-
find_library(PTHREAD_LIBRARY_PATH pthread)
if (PTHREAD_LIBRARY_PATH)
list(APPEND LIBS pthread)
LINK_LIBS
${LIBS}
+
+ LINK_COMPONENTS
+ Support # Depends on llvm::raw_ostream
)
add_subdirectory(UnitTestMain)