mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 22:41:11 +00:00
Fix CI builds (#8161)
* Update build.yml Upgrade to gcc 13 and clang 15 * switch to __is_trivially_copyable * fix cmake issue and warning about sign comparison * Use libc++ for C++23 on clang for now * Use libc++ for C++23 on clang for now * exclude clang+15 for C++13 builds
This commit is contained in:
@@ -556,7 +556,11 @@ if(FLATBUFFERS_BUILD_TESTS)
|
||||
|
||||
# Add a library so there is a single target that the generated samples can
|
||||
# link too.
|
||||
add_library(flatsample INTERFACE)
|
||||
if(MSVC)
|
||||
add_library(flatsample INTERFACE)
|
||||
else()
|
||||
add_library(flatsample STATIC)
|
||||
endif()
|
||||
|
||||
# Since flatsample has no sources, we have to explicitly set the linker lang.
|
||||
set_target_properties(flatsample PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
Reference in New Issue
Block a user