Skip to content

Commit bf0201e

Browse files
committed
Make sure preset/texture paths are using CMake (/) separators
1 parent 86c7c68 commit bf0201e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ endif()
8080

8181
# Install optional presets
8282
foreach(preset_dir ${PRESET_DIRS})
83+
file(TO_CMAKE_PATH "${preset_dir}" preset_dir)
8384
install(DIRECTORY ${preset_dir}
8485
DESTINATION "${PROJECTMSDL_PRESETS_DIR}"
8586
COMPONENT projectMSDL
@@ -90,6 +91,7 @@ endforeach()
9091

9192
# Install optional textures
9293
foreach(texture_dir ${TEXTURE_DIRS})
94+
file(TO_CMAKE_PATH "${texture_dir}" texture_dir)
9395
install(DIRECTORY ${texture_dir}
9496
DESTINATION "${PROJECTMSDL_TEXTURES_DIR}"
9597
COMPONENT projectMSDL

0 commit comments

Comments
 (0)