mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 18:53:04 +08:00
set cmake_prefix_path correctly within vcpkg_configure_meson
This commit is contained in:
parent
989d049702
commit
11506d1426
@ -26,6 +26,7 @@ function(vcpkg_configure_meson)
|
||||
set(MESON_RELEASE_LDFLAGS "${MESON_RELEASE_LDFLAGS} /INCREMENTAL:NO /OPT:REF /OPT:ICF")
|
||||
|
||||
# select meson cmd-line options
|
||||
list(APPEND _vcm_OPTIONS -Dcmake_prefix_path=${CURRENT_INSTALLED_DIR})
|
||||
list(APPEND _vcm_OPTIONS --buildtype plain --backend ninja --wrap-mode nodownload)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
list(APPEND _vcm_OPTIONS --default-library shared)
|
||||
|
Loading…
Reference in New Issue
Block a user