diff --git a/bgfx b/bgfx index b38389f..db44d56 160000 --- a/bgfx +++ b/bgfx @@ -1 +1 @@ -Subproject commit b38389f04e07cb27abab59f7a9ca444dd15b64a0 +Subproject commit db44d5675f4e02a9f3178fe54ac6d5a9c216a573 diff --git a/cmake/bx.cmake b/cmake/bx.cmake index bf79e68..a784cde 100644 --- a/cmake/bx.cmake +++ b/cmake/bx.cmake @@ -30,6 +30,10 @@ endif() # Create the bx target add_library( bx STATIC ${BX_SOURCES} ) +target_compile_features( bx PUBLIC cxx_std_14 ) +# (note: see bx\scripts\toolchain.lua for equivalent compiler flag) +target_compile_options( bx PUBLIC $<$:/Zc:__cplusplus> ) + # Link against psapi on Windows if( WIN32 ) target_link_libraries( bx PUBLIC psapi )