mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[tbb] Build dll for static dependency on Windows (#5430)
* [tbb] Build dll for static dependency on Windows
This commit is contained in:
parent
5251a51ab0
commit
d96b462823
@ -1,3 +1,3 @@
|
||||
Source: tbb
|
||||
Version: 2019_U3
|
||||
Version: 2019_U3-1
|
||||
Description: Intel's Threading Building Blocks.
|
||||
|
@ -1,7 +1,10 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
message("tbb only supports dynamic library linkage")
|
||||
set(VCPKG_LIBRARY_LINKAGE "dynamic")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
|
Loading…
x
Reference in New Issue
Block a user