Skip to content

Commit

Permalink
windows standalone fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fradav committed Sep 14, 2020
1 parent 92eccc0 commit f72e845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if(MSVC AND MAKE_STATIC_EXE)
set(VCPKG_TARGET_TRIPLET "x64-windows-static")
endif()

if((NOT MSVC) AND MAKE_STATIC_EXE AND USE_MKL)
if(MAKE_STATIC_EXE AND USE_MKL)
set(TBBPKG tbb)
endif()

Expand Down Expand Up @@ -169,7 +169,7 @@ find_package(cxxopts CONFIG REQUIRED)
## Pybind11PYTHO
find_package(pybind11 CONFIG REQUIRED)

if((NOT MSVC) AND MAKE_STATIC_EXE AND USE_MKL)
if(MAKE_STATIC_EXE AND USE_MKL)
find_package(TBB CONFIG REQUIRED)
set(TBBLIB TBB::tbb)
endif()
Expand Down

0 comments on commit f72e845

Please sign in to comment.