SWDEV-401902 - Set default CMAKE_BUILD_TYPE in the top level CMakeLists.txt

Change-Id: I3a3e24da2dc7eec5feb1f748ea49af3df40d4cd9


[ROCm/clr commit: f945adf0bd]
This commit is contained in:
Ioannis Assiouras
2023-05-23 10:15:02 +01:00
parent 5f30552398
commit babff0ff73
2 changed files with 5 additions and 5 deletions
-5
View File
@@ -227,11 +227,6 @@ message(STATUS "HIP Compiler: " ${HIP_COMPILER})
add_to_config(_buildInfo HIP_RUNTIME)
add_to_config(_buildInfo HIP_COMPILER)
# Set default build type
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
if (NOT DEFINED ROCM_PATH )
set ( ROCM_PATH "/opt/rocm" CACHE STRING "Default ROCM installation directory." )
endif ()