message: Add populated block
diff: @@ -20,6 +20,8 @@ FetchContent_Declare(TBB
  CONFIGURE_COMMAND "${CMAKE_COMMAND} -S ${CMAKE_CURRENT_BINARY_DIR}/src -B ${CMAKE_CURRENT_BINARY_DIR}/build"
  INSTALL_COMMAND "${CMAKE_COMMAND} --install ${CMAKE_CURRENT_BINARY_DIR}/build --prefix \"${CMAKE_CURRENT_BINARY_DIR}/inst\""
  )
  +
  +if(NOT TBB_POPULATED)
  FetchContent_Populate(TBB)
  # Manually change the output directory so folders don't spawn randomly in the build env
  @@ -37,3 +39,4 @@ add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/src ${CMAKE_CURRENT_BINARY_DIR}/bin
  # Set the values back to what they originally were
  set(BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS_OLD} CACHE BOOL "Type of libraries to build" FORCE)
  set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ${CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS_OLD} CACHE BOOL "Tell CMake to always export symbols on Windows" FORCE)
  +endif()
  