From 289e367e28f5b17a9ba80d72aeaeceb112e8d021 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:10:51 +1100 Subject: [PATCH] include base linux toolchain --- toolchains/{clang-toolchain.cmake => linux-clang.cmake} | 2 ++ triplets/x64-linux-mixed.cmake | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) rename toolchains/{clang-toolchain.cmake => linux-clang.cmake} (59%) diff --git a/toolchains/clang-toolchain.cmake b/toolchains/linux-clang.cmake similarity index 59% rename from toolchains/clang-toolchain.cmake rename to toolchains/linux-clang.cmake index 38a8d38..f746b8d 100644 --- a/toolchains/clang-toolchain.cmake +++ b/toolchains/linux-clang.cmake @@ -1,2 +1,4 @@ +include(${VCPKG_ROOT}/scripts/toolchains/linux.cmake) + set(CMAKE_C_COMPILER "/usr/bin/clang") set(CMAKE_CXX_COMPILER "/usr/bin/clang++") \ No newline at end of file diff --git a/triplets/x64-linux-mixed.cmake b/triplets/x64-linux-mixed.cmake index 06e29a7..7e70894 100644 --- a/triplets/x64-linux-mixed.cmake +++ b/triplets/x64-linux-mixed.cmake @@ -3,7 +3,7 @@ set(VCPKG_CRT_LINKAGE dynamic) set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_CMAKE_SYSTEM_NAME Linux) -set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/../toolchains/clang-toolchain.cmake) +set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/../toolchains/linux-clang.cmake) if(PORT MATCHES "discord-") set(VCPKG_LIBRARY_LINKAGE dynamic)