We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30c57fd commit bc62b38Copy full SHA for bc62b38
CMakeLists.txt
@@ -121,12 +121,14 @@ else()
121
message(FATAL_ERROR "Aub Stream headers not available!")
122
endif()
123
124
-if(NOT DEFINED AUB_STREAM_DIR)
+if(NOT DEFINED AUB_STREAM_DIR AND NOT DISABLE_AUB_STREAM)
125
get_filename_component(TEMP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../aub_stream/aub_mem_dump" ABSOLUTE)
126
if(IS_DIRECTORY ${TEMP_DIR})
127
set(AUB_STREAM_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../aub_stream")
128
message(STATUS "Aub Stream dir: ${AUB_STREAM_DIR}")
129
130
+else()
131
+ unset(AUB_STREAM_DIR)
132
endif(NOT DEFINED AUB_STREAM_DIR)
133
134
if(LIBDRM_DIR)
0 commit comments