fixing cmake error message as fatal error

Change-Id: I9a378e1f70f77f2af8e53afe3abdb0b988b0f7bc


[ROCm/rocprofiler commit: 46fdb2ebef]
This commit is contained in:
Evgeny committed 2020-04-21 22:34:14 -05:00
1 orang tua 0b6ba7390b
melakukan c21e06124c
1 file changed
+1 -1
+1 -1
Melihat File
@@ -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})