From 884a312011d676eeb6dcd719f862b15f4bab45dc Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 1 Oct 2021 11:21:35 -0500 Subject: [PATCH] build: Fix build with CMake before 3.14 --- src/xrt/compositor/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/compositor/CMakeLists.txt b/src/xrt/compositor/CMakeLists.txt index 30d65520f..0913f7efe 100644 --- a/src/xrt/compositor/CMakeLists.txt +++ b/src/xrt/compositor/CMakeLists.txt @@ -178,7 +178,7 @@ if(XRT_FEATURE_COMPOSITOR_MAIN) endif() foreach(WL_PROTO_XML ${WL_PROTOS_XML}) - get_filename_component(WL_PROTO ${WL_PROTO_XML} NAME_WLE) + get_filename_component(WL_PROTO ${WL_PROTO_XML} NAME_WE) set(WL_PROTO_C "${WL_PROTOS_DIR}/${WL_PROTO}.c") set(WL_PROTO_H "${WL_PROTOS_DIR}/${WL_PROTO}-client-protocol.h")