fixing cmake error message as fatal error
Change-Id: I9a378e1f70f77f2af8e53afe3abdb0b988b0f7bc
This commit is contained in:
+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})
|
||||
|
||||
Reference in New Issue
Block a user