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)