Fixed macOS stress_tests build with PKG config (#14004)
This commit is contained in:
parent
8a2b1c9cf9
commit
a410157b67
@ -12,7 +12,7 @@
|
||||
#include <psapi.h>
|
||||
#include <tlhelp32.h>
|
||||
#else
|
||||
#include <sys/unistd.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
|
2
thirdparty/gtest/CMakeLists.txt
vendored
2
thirdparty/gtest/CMakeLists.txt
vendored
@ -33,7 +33,7 @@ foreach(target IN LISTS gtest_targets)
|
||||
set_target_properties(${target} PROPERTIES COMPILE_OPTIONS "${_target_cxx_flags}")
|
||||
endif()
|
||||
endif()
|
||||
elseif(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG OR
|
||||
elseif(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$" OR
|
||||
CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
||||
target_compile_options(${target} PRIVATE -Wno-undef)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
Loading…
Reference in New Issue
Block a user