0027513: Configuration, CMake - Option INSTALL_TBB does not install tbbmalloc.dll
[occt.git] / adm / cmake / tbb.cmake
index 8c9d12a..4a6c396 100644 (file)
@@ -231,7 +231,7 @@ macro (TBB_PRODUCT_SEARCH PRODUCT_NAME)
   endif()
 
   # install tbb/tbbmalloc
-  if (INSTALL_${PRODUCT_NAME})
+  if (INSTALL_TBB)
     OCCT_MAKE_OS_WITH_BITNESS()
     OCCT_MAKE_COMPILER_SHORT_NAME()