The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ext/tracy: Do not define ENABLE_TRACY globally

+1 -5
-5
CMakeLists.txt
··· 378 378 # Flags 379 379 ### 380 380 381 - if(XRT_HAVE_TRACY) 382 - # Needed to fully enable. 383 - add_definitions(-DTRACY_ENABLE) 384 - endif() 385 - 386 381 if(XRT_HAVE_TRACY AND XRT_HAVE_PERCETTO) 387 382 message(FATAL_ERROR "Max one tracing backend, XRT_HAVE_TRACY and XRT_HAVE_PERCETTO enabled") 388 383 endif()
+1
src/external/CMakeLists.txt
··· 164 164 target_include_directories( 165 165 xrt-external-tracy SYSTEM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/tracy 166 166 ) 167 + target_compile_definitions(xrt-external-tracy PRIVATE TRACY_ENABLE) 167 168 endif()