mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Meta: Add vcpkg triplets for FreeBSD
This commit is contained in:
parent
632ce9523b
commit
48403eab21
5
Meta/CMake/vcpkg/base-triplets/x64-freebsd.cmake
Normal file
5
Meta/CMake/vcpkg/base-triplets/x64-freebsd.cmake
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
set(VCPKG_CMAKE_SYSTEM_NAME FreeBSD)
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/base.cmake)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake)
|
||||
2
Meta/CMake/vcpkg/distribution-triplets/x64-freebsd.cmake
Normal file
2
Meta/CMake/vcpkg/distribution-triplets/x64-freebsd.cmake
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/distribution.cmake)
|
||||
|
|
@ -61,7 +61,9 @@ if (NOT DEFINED CACHE{VCPKG_TARGET_TRIPLET} AND NOT DEFINED CACHE{VCPKG_HOST_TRI
|
|||
elseif (os_name MATCHES "Darwin|macOS")
|
||||
set(os osx)
|
||||
elseif (os_name MATCHES "Windows")
|
||||
set (os windows)
|
||||
set(os windows)
|
||||
elseif (os_name MATCHES "FreeBSD")
|
||||
set(os freebsd)
|
||||
else()
|
||||
message(FATAL_ERROR "Unable to automatically detect os name for vcpkg, please set VCPKG_TARGET_TRIPLET manually")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/release.cmake)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/sanitizer.cmake)
|
||||
Loading…
Reference in New Issue
Block a user