The open source OpenXR runtime
0
fork

Configure Feed

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

cmake: Only enable color logging on Linux

The define was only used on Linux anyways, and with the following
refactor the code looks better we can test just this define.

authored by

Jakob Bornecrantz and committed by
Ryan Pavlik
299471f2 6819f9cd

+1 -1
+1 -1
CMakeLists.txt
··· 282 282 option(XRT_MODULE_AUX_VIVE "Build aux_vive" ON) 283 283 284 284 # Feature configuration (sorted) 285 - option(XRT_FEATURE_COLOR_LOG "Enable logging in color on supported platforms" ON) 285 + option_with_deps(XRT_FEATURE_COLOR_LOG "Enable logging in color on supported platforms" DEPENDS XRT_HAVE_LINUX) 286 286 option_with_deps(XRT_FEATURE_OPENXR "Build OpenXR runtime target" DEPENDS "XRT_MODULE_COMPOSITOR_MAIN OR XRT_MODULE_COMPOSITOR_NULL") 287 287 set(XRT_FEATURE_OPENXR_DEBUG_UTILS OFF) # Has never been enabled 288 288 option_with_deps(XRT_FEATURE_RENDERDOC "Enable RenderDoc API" DEPENDS "RT_LIBRARY OR WIN32")