From 5f64d6895eb833627f56c2f0244f9b2305c82971 Mon Sep 17 00:00:00 2001 From: Matt Penny Date: Wed, 1 Jan 2025 16:45:44 -0500 Subject: [PATCH] cmake: Fix VPK and texture dependencies --- assets/materials/CMakeLists.txt | 2 +- linker/CMakeLists.txt | 2 +- vpk/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/materials/CMakeLists.txt b/assets/materials/CMakeLists.txt index edbcef35..b6d037f9 100644 --- a/assets/materials/CMakeLists.txt +++ b/assets/materials/CMakeLists.txt @@ -370,7 +370,7 @@ add_custom_target(textures ) set_target_properties(textures PROPERTIES # Enable dependents to easily depend on transformed textures - OUTPUTS ${TEXTURES_TRANSFORMED} + OUTPUTS "${TEXTURES_TRANSFORMED}" ) ######################### diff --git a/linker/CMakeLists.txt b/linker/CMakeLists.txt index 419c263a..81912a8c 100644 --- a/linker/CMakeLists.txt +++ b/linker/CMakeLists.txt @@ -31,5 +31,5 @@ add_custom_target(linker_script DEPENDS ${OUTPUT_LINKER_SCRIPT} ) set_target_properties(linker_script PROPERTIES - SCRIPT_FILE ${OUTPUT_LINKER_SCRIPT} + SCRIPT_FILE "${OUTPUT_LINKER_SCRIPT}" ) diff --git a/vpk/CMakeLists.txt b/vpk/CMakeLists.txt index 510f800f..6a271af8 100644 --- a/vpk/CMakeLists.txt +++ b/vpk/CMakeLists.txt @@ -84,5 +84,5 @@ add_custom_target(extract_vpks DEPENDS ${VPK_STAMP_FILES} ) set_target_properties(extract_vpks PROPERTIES - OUTPUTS ${VPK_STAMP_FILES} + OUTPUTS "${VPK_STAMP_FILES}" )