fixing cmake error message as fatal error

Change-Id: I9a378e1f70f77f2af8e53afe3abdb0b988b0f7bc
This commit is contained in:
Evgeny
2020-04-21 22:34:14 -05:00
parent 1e2d370eb5
commit 46fdb2ebef
+1 -1
View 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})