Skip to content

Commit

Permalink
Merge pull request #509 from uilianries/hotfix/cmake-cppstd
Browse files Browse the repository at this point in the history
Declare C++14 as required for building
  • Loading branch information
grojo-ea committed Jul 7, 2023
2 parents a514949 + 12f0131 commit 61c6a01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ include(CommonCppFlags)
file(GLOB EASTL_SOURCES "source/*.cpp")
file(GLOB_RECURSE EASTL_HEADERS "include/EASTL/**.h")
add_library(EASTL ${EASTL_SOURCES} ${EASTL_HEADERS})
target_compile_features(EASTL PUBLIC cxx_std_14)

# include both source and headers in the files tab in Visual Studio
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} PREFIX "Header Files" FILES ${EASTL_HEADERS})
Expand Down

0 comments on commit 61c6a01

Please sign in to comment.