Commit 781eb380 authored by Brad King's avatar Brad King
Browse files

Tests: Fix VSResource test on MinGW with Ninja and a space in the path

parent 0bb67499
...@@ -18,9 +18,8 @@ if(CMAKE_RC_COMPILER MATCHES windres) ...@@ -18,9 +18,8 @@ if(CMAKE_RC_COMPILER MATCHES windres)
message(STATUS "CMAKE_RC_COMPILER MATCHES windres") message(STATUS "CMAKE_RC_COMPILER MATCHES windres")
add_definitions(/DCMAKE_RCDEFINE=test.txt) add_definitions(/DCMAKE_RCDEFINE=test.txt)
add_definitions(/DCMAKE_RCDEFINE_NO_QUOTED_STRINGS) add_definitions(/DCMAKE_RCDEFINE_NO_QUOTED_STRINGS)
if(MSYS AND CMAKE_CURRENT_BINARY_DIR MATCHES " ") if(CMAKE_CURRENT_BINARY_DIR MATCHES " ")
# windres cannot handle spaces in include dir, and # windres cannot handle spaces in include dir
# for the MSys shell we do not convert to shortpath.
set(CMAKE_RC_NO_INCLUDE 1) set(CMAKE_RC_NO_INCLUDE 1)
endif() endif()
elseif(MSVC60) elseif(MSVC60)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment