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 <psapi.h>
|
||||||
#include <tlhelp32.h>
|
#include <tlhelp32.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#endif
|
#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}")
|
set_target_properties(${target} PROPERTIES COMPILE_OPTIONS "${_target_cxx_flags}")
|
||||||
endif()
|
endif()
|
||||||
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")
|
CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
||||||
target_compile_options(${target} PRIVATE -Wno-undef)
|
target_compile_options(${target} PRIVATE -Wno-undef)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
Loading…
Reference in New Issue
Block a user