CMakeLists.txt: set std=gnu++98

Required to fix a few errors where some enum->int->wchar_t* casting
happens.
This commit is contained in:
snow flurry 2023-02-27 22:45:15 -08:00
parent b4596781ea
commit cbcffb4717

View file

@ -56,6 +56,7 @@ set_property(TARGET ${PROJECT_NAME} mksh vroot PROPERTY INCLUDE_DIRECTORIES
${CMAKE_CURRENT_BINARY_DIR}
${BSD_INCLUDE_DIRS}
)
set_property(TARGET ${PROJECT_NAME} mksh vroot PROPERTY CXX_STANDARD 98)
target_link_libraries(${PROJECT_NAME}
mksh vroot pthread ${BSD_LIBRARIES} ${NSL_LIB} ${INTL_LIB}