PlayerLink/vendor/CMakeLists.txt

25 lines
871 B
CMake
Raw Normal View History

2024-11-01 14:10:00 +01:00
add_subdirectory("discord-rpc")
2024-11-01 16:49:48 +01:00
SET(ENABLE_PROGRAMS OFF FORCE)
SET(ENABLE_TESTING OFF FORCE)
2024-11-01 14:10:00 +01:00
add_subdirectory("mbedtls")
SET(CURL_USE_MBEDTLS ON)
2024-11-01 15:04:43 +01:00
SET(CURL_USE_LIBPSL OFF)
SET(CURL_USE_LIBSSH2 OFF)
SET(USE_NGHTTP2 OFF)
2024-11-02 12:26:37 +01:00
SET(USE_LIBIDN2 OFF)
2024-11-01 14:10:00 +01:00
SET(BUILD_STATIC_LIBS ON)
SET(BUILD_SHARED_LIBS OFF)
SET(BUILD_CURL_EXE OFF)
SET(MBEDTLS_INCLUDE_DIRS ../mbedtls/include)
2025-01-12 20:54:26 +01:00
file(RENAME curl/CMake/FindMbedTLS.cmake curl/CMake/FindMbedTLS.cmake.bak) #replace curls FindMbedTLS that expects mbedtls to be prebuilt with a dummy
2024-11-01 14:10:00 +01:00
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/dummy ${CMAKE_MODULE_PATH})
add_subdirectory("curl")
2025-01-12 20:54:26 +01:00
file(RENAME curl/CMake/FindMbedTLS.cmake.bak curl/CMake/FindMbedTLS.cmake)
set(wxBUILD_SHARED OFF)
set(wxBUILD_MONOLITHIC ON)
set(wxUSE_GUI ON)
set(wxUSE_WEBVIEW OFF)
2024-11-05 20:22:11 +01:00
add_subdirectory("wxWidgets")
if(UNIX AND NOT APPLE)
add_subdirectory("dbus")
endif()