[msvc2015] Fix cmake warnings regarding backslashes in path of the run-time libraries
authorlazydodo <github@lazydodo.com>
Sun, 27 Nov 2016 00:00:25 +0000 (17:00 -0700)
committerlazydodo <github@lazydodo.com>
Sun, 27 Nov 2016 00:00:25 +0000 (17:00 -0700)
source/creator/CMakeLists.txt

index aa0a213cf64aad8688ee2aa9b4947c74548baaed..04a79f6498f78a1515e17856eae18b9e8ce5521c 100644 (file)
@@ -1185,7 +1185,7 @@ if(WIN32 AND NOT WITH_PYTHON_MODULE)
                                message(FATAL_ERROR "Windows 10 SDK directory not found")
                        endif()
                endif()
-               
+               FILE(TO_CMAKE_PATH  ${KITSPATH} KITSPATH)
                install(
                        FILES
                                ${KITSPATH}/api-ms-win-core-file-l1-2-0.dll