mirror of
https://github.com/reactos/CMake.git
synced 2024-11-30 15:00:41 +00:00
Tests: Fix VSResource test on MinGW with Ninja and a space in the path
This commit is contained in:
parent
0bb67499c3
commit
781eb380f4
@ -18,9 +18,8 @@ if(CMAKE_RC_COMPILER MATCHES windres)
|
||||
message(STATUS "CMAKE_RC_COMPILER MATCHES windres")
|
||||
add_definitions(/DCMAKE_RCDEFINE=test.txt)
|
||||
add_definitions(/DCMAKE_RCDEFINE_NO_QUOTED_STRINGS)
|
||||
if(MSYS AND CMAKE_CURRENT_BINARY_DIR MATCHES " ")
|
||||
# windres cannot handle spaces in include dir, and
|
||||
# for the MSys shell we do not convert to shortpath.
|
||||
if(CMAKE_CURRENT_BINARY_DIR MATCHES " ")
|
||||
# windres cannot handle spaces in include dir
|
||||
set(CMAKE_RC_NO_INCLUDE 1)
|
||||
endif()
|
||||
elseif(MSVC60)
|
||||
|
Loading…
Reference in New Issue
Block a user