-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_DISABLE_COMPILER_TRACKING TRUE) | ||
|
||
set(VCPKG_CMAKE_SYSTEM_NAME Darwin) | ||
set(VCPKG_OSX_ARCHITECTURES x86_64) | ||
|
||
# Unfortunately, we cannot include() anything from here because CMAKE_CURRENT_LIST_DIR is "wrong." | ||
# If you update this list, remember to synchronize x86-windows-plasma.cmake. | ||
set(_PLASMA_DYNAMIC_LIBRARIES | ||
cairo | ||
python2 | ||
python3 | ||
) | ||
|
||
cmake_policy(SET CMP0057 NEW) | ||
if(PORT IN_LIST _PLASMA_DYNAMIC_LIBRARIES) | ||
set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
else() | ||
set(VCPKG_LIBRARY_LINKAGE static) | ||
endif() | ||
|
||
# This is a terrible hack because meson seems to suck. | ||
if(PORT STREQUAL cairo) | ||
set(VCPKG_BUILD_TYPE release) | ||
endif() |