diff --git a/CMakeLists.txt b/CMakeLists.txt index 6aa2eddf..7e95d857 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,8 +80,6 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "Add paths to linker searc # Set the default value of BUILD_SHARED_LIBS set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared") -# Include cmake scripts -include(cmake/Dependencies.cmake) # Detect compiler support for target ID # This section is deprecated. Please use rocm_check_target_ids for future use. @@ -102,6 +100,9 @@ else() find_package(hip REQUIRED CONFIG PATHS ${HIP_DIR} ${ROCM_PATH}) endif() +# Include cmake scripts +include(cmake/Dependencies.cmake) + # Build option to disable -Werror option(DISABLE_WERROR "Disable building with Werror" ON)