Files
tessesframework/cmake/staticlib.cmake
Mike Nolan 8413c67ec6
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Failing after 45s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Has been cancelled
Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
2026-05-27 03:02:16 -05:00

14 lines
521 B
CMake

add_library(tessesframework STATIC ${TESSESFRAMEWORK_SOURCE})
include(${CMAKE_CURRENT_LIST_DIR}/helpers.cmake)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoWii" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoGameCube")
target_link_libraries(tessesframework PUBLIC fat)
endif()
if("${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoWii")
target_link_libraries(tessesframework PUBLIC wiisocket)
target_compile_definitions(tessesframework PUBLIC TESSESFRAMEWORK_USE_WII_SOCKET)
endif()
list(APPEND TessesFrameworkLibs tessesframework)