diff options
Diffstat (limited to 'ports/tbb')
| -rw-r--r-- | ports/tbb/portfile.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ports/tbb/portfile.cmake b/ports/tbb/portfile.cmake index b99fdb017..201b6f53d 100644 --- a/ports/tbb/portfile.cmake +++ b/ports/tbb/portfile.cmake @@ -1,10 +1,7 @@ include(vcpkg_common_functions) if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") - if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - message("tbb only supports dynamic library linkage") - set(VCPKG_LIBRARY_LINKAGE "dynamic") - endif() + vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) endif() vcpkg_from_github( |
