Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Libor Bukata
CMake
Commits
781eb380
Commit
781eb380
authored
May 30, 2017
by
Brad King
Browse files
Tests: Fix VSResource test on MinGW with Ninja and a space in the path
parent
0bb67499
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/VSResource/CMakeLists.txt
View file @
781eb380
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment