fixing cmake error message as fatal error

Change-Id: I9a378e1f70f77f2af8e53afe3abdb0b988b0f7bc


[ROCm/rocprofiler commit: 46fdb2ebef]
このコミットが含まれているのは:
Evgeny committed 2020-04-21 22:34:14 -05:00
1 親 0b6ba7390b
コミット c21e06124c
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -87,7 +87,7 @@ if(USE_PROF_API EQUAL 1)
include/ext
)
if(NOT PROF_API_HEADER_DIR)
MESSAGE(ERROR ": Profiling API header not found. Tracer integration disabled. Use -DPROF_API_HEADER_PATH=<path to ${PROF_API_HEADER_NAME} header>")
MESSAGE(FATAL_ERROR "Profiling API header not found. Tracer integration disabled. Use -DPROF_API_HEADER_PATH=<path to ${PROF_API_HEADER_NAME} header>")
else()
add_definitions(-DUSE_PROF_API=1)
include_directories(${PROF_API_HEADER_DIR})