diff options
| author | Griffin Downs <grdowns@microsoft.com> | 2019-04-04 15:46:02 -0700 |
|---|---|---|
| committer | Griffin Downs <grdowns@microsoft.com> | 2019-04-04 15:46:02 -0700 |
| commit | 9ff9817a40084cb8dc94bc0f8332632a36c92346 (patch) | |
| tree | d39900ef8886534e7171b2a373a061f2f958eb11 /ports/tbb | |
| parent | e33ffb6f905fb6c7446003ce15028bc1f5606cf7 (diff) | |
| parent | f0040c333959f4febcc528fb134b025713e54542 (diff) | |
| download | vcpkg-9ff9817a40084cb8dc94bc0f8332632a36c92346.tar.gz vcpkg-9ff9817a40084cb8dc94bc0f8332632a36c92346.zip | |
Merge branch 'pr/cmake_3_14' of https://github.com/kiwixz/vcpkg into dev/grdowns/5702
Diffstat (limited to 'ports/tbb')
| -rw-r--r-- | ports/tbb/portfile.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/tbb/portfile.cmake b/ports/tbb/portfile.cmake index 3050a38a9..67056533a 100644 --- a/ports/tbb/portfile.cmake +++ b/ports/tbb/portfile.cmake @@ -59,6 +59,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") else() set(TBB_DEFAULT_COMPONENTS tbb tbbmalloc tbbmalloc_proxy) endif() + file(READ "${SOURCE_PATH}/include/tbb/tbb_stddef.h" _tbb_stddef) string(REGEX REPLACE ".*#define TBB_VERSION_MAJOR ([0-9]+).*" "\\1" _tbb_ver_major "${_tbb_stddef}") string(REGEX REPLACE ".*#define TBB_VERSION_MINOR ([0-9]+).*" "\\1" _tbb_ver_minor "${_tbb_stddef}") |
