diff --git a/src/xrt/targets/openxr/CMakeLists.txt b/src/xrt/targets/openxr/CMakeLists.txt index 162d8d8fa..5068a498f 100644 --- a/src/xrt/targets/openxr/CMakeLists.txt +++ b/src/xrt/targets/openxr/CMakeLists.txt @@ -18,7 +18,7 @@ set(SOURCE_FILES ) # depends on above generated files -add_library(${RUNTIME_TARGET} SHARED +add_library(${RUNTIME_TARGET} MODULE ${MANIFEST_DEV_PATH} ${MANIFEST_PATH} ${SOURCE_FILES} @@ -67,7 +67,7 @@ install(TARGETS ${RUNTIME_TARGET} ### # Generate runtime manifest with absolute path to runtime intended for development without installing set(MANIFEST_INPUT ${CMAKE_CURRENT_SOURCE_DIR}/openxr_monado.in.json) -set(runtime_path $) +set(runtime_path $) # Need this step because file(GENERATE) only evaluates generator expressions, and not what configure_file does. configure_file(${MANIFEST_INPUT} ${CMAKE_CURRENT_BINARY_DIR}/intermediate_manifest.json)