diff --git a/CMakeLists.txt b/CMakeLists.txt index dc406cf6bd..1642d78b0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,18 +59,16 @@ set(PROJECT_TOOLS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tools) # Import the linking macros for VT-related targets include(cmake/link_vt.cmake) +# Load packages that are required for core VT build +include(cmake/load_packages.cmake) + # Some options use TPL information (whether Perl was found etc.) include(cmake/configure_options.cmake) +include(cmake/check_compiler.cmake) include(cmake/nvcc_no_deprecated_gpu_targets.cmake) include(cmake/load_bundled_libraries.cmake) -# Load packages that are required for core VT build -# We need to do this after bundled libraries so we avoid library duplication -include(cmake/load_packages.cmake) -include(cmake/check_compiler.cmake) - - # Primary VT build add_subdirectory(src)