From 853f27ed56d970b38845473c04902497a131a921 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 8 May 2025 08:01:12 +1000 Subject: [PATCH] Whitespace. --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aed12ba0..523fda15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -528,11 +528,12 @@ if (NOT MINIAUDIO_NO_EXTRA_NODES) extras/nodes/ma_${name}_node/ma_${name}_node.c extras/nodes/ma_${name}_node/ma_${name}_node.h ) - set(libs "${LIBS_TO_INSTALL}") + + set(libs "${LIBS_TO_INSTALL}") - list(APPEND libs miniaudio_${name}_node) - set(LIBS_TO_INSTALL "${libs}" PARENT_SCOPE) # without PARENT_SCOPE, any changes are lost - install(FILES extras/nodes/ma_${name}_node/ma_${name}_node.h DESTINATION include/miniaudio/extras/nodes/ma_${name}_node) + list(APPEND libs miniaudio_${name}_node) + set(LIBS_TO_INSTALL "${libs}" PARENT_SCOPE) # without PARENT_SCOPE, any changes are lost + install(FILES extras/nodes/ma_${name}_node/ma_${name}_node.h DESTINATION include/miniaudio/extras/nodes/ma_${name}_node) target_include_directories(miniaudio_${name}_node PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/extras/nodes/ma_${name}_node) target_compile_options (miniaudio_${name}_node PRIVATE ${COMPILE_OPTIONS})