Fixed cmakes on windows

This commit is contained in:
2023-06-23 21:04:08 -07:00
parent 2c84dc1d58
commit 216fb5cbf7
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ function(tool_vnscene in)
set(DEPS vnscenetool)
endif()
STRING(REGEX REPLACE "[\.|\\|\/]" "-" scene_name ${in})
STRING(REGEX REPLACE "[\.|\\|\/|\:]" "-" scene_name ${in})
add_custom_target(scene_${scene_name}
COMMAND vnscenetool --input="${in}" --output="${DAWN_GENERATED_DIR}/generatedscenes"
COMMENT "Generating vnscene from ${in}"