Use main project cxx standard for unit tests

This commit is contained in:
Josiah VanderZee 2024-05-21 12:07:13 -05:00 committed by Lars Mueller
parent 1baa3f1e34
commit b9b03557c6

@ -3,12 +3,6 @@ add_executable(tests
"${PROJECT_SOURCE_DIR}/source/Irrlicht/CReadFile.cpp" "${PROJECT_SOURCE_DIR}/source/Irrlicht/CReadFile.cpp"
) )
set_target_properties(tests PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
)
target_compile_options(tests target_compile_options(tests
PRIVATE PRIVATE
"$<$<CXX_COMPILER_ID:GNU>:-Wall>" "$<$<CXX_COMPILER_ID:GNU>:-Wall>"