File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,11 @@ endif()
299
299
300
300
# Add appropriate flags for GCC
301
301
if (LLVM_COMPILER_IS_GCC_COMPATIBLE )
302
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings" )
302
+ if (APPLE )
303
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings" )
304
+ else ()
305
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings" )
306
+ endif ()
303
307
endif ()
304
308
305
309
# Fixes "C++ exception handler used, but unwind semantics are not enabled" warning Windows
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ ExternalProject_Add(
24
24
googletest
25
25
GIT_REPOSITORY https://github.com/google/googletest.git
26
26
GIT_SHALLOW 1
27
- GIT_TAG release-1.12.1
27
+ GIT_TAG v1.15.2
28
28
UPDATE_COMMAND ""
29
29
# # Force separate output paths for debug and release builds to allow easy
30
30
# # identification of correct lib in subsequent TARGET_LINK_LIBRARIES commands
You can’t perform that action at this time.
0 commit comments