You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
508 B
14 lines
508 B
set(ASAN OFF) |
|
set(UBSAN OFF) |
|
set(NONET ON) |
|
set(USE_SDL1 ON) |
|
set(SDL1_VIDEO_MODE_BPP 8) |
|
set(TTF_FONT_NAME \"LiberationSerif-Bold.ttf\") |
|
# Enable exception suport as they are used in dvlnet code |
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions") |
|
find_package(Freetype REQUIRED) |
|
find_package(ZLIB REQUIRED) |
|
|
|
# Do not warn about unknown attributes, such as [[nodiscard]]. |
|
# As this build uses an older compiler, there are lots of them. |
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes")
|
|
|