Files @ r27443:1150c64644d0
Branch filter:

Location: cpp/openttd-patchpack/source/src/os/unix/CMakeLists.txt

Loïc Guilloux
Fix: Check max member count in squirrel classes (#10883)

Manual cherry-pick from https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98
add_files(
    crashlog_unix.cpp
    survey_unix.cpp
    CONDITION UNIX AND NOT APPLE AND NOT OPTION_OS2
)

add_files(
    unix.cpp
    CONDITION UNIX AND NOT OPTION_OS2
)

add_files(
    font_unix.cpp
    CONDITION Fontconfig_FOUND
)

if(UNIX AND NOT APPLE AND NOT OPTION_OS2)
    target_sources(openttd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/unix_main.cpp)
endif()