Skip to content

Commit

Permalink
Specify c++ standard to use for building libktx.
Browse files Browse the repository at this point in the history
Fixes #774 and #656.
  • Loading branch information
MarkCallow committed Nov 28, 2023
1 parent ab9c277 commit 0c379e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ macro(common_libktx_settings target enable_write library_type)
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME "YES"
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES

)
if(IOS)
set_target_properties(${target} PROPERTIES
Expand Down

0 comments on commit 0c379e2

Please sign in to comment.