mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Stop creating a "build," directory
This was a typo. CMake doesn't take comma-separated arguments, but if you do add the comma it tends to work, because it just takes that comma as part of the string. So if it takes a directory to work in, that it will then create, and you pass ${CMAKE_CURRENT_BINARY_DIR}, well, that might just create a "build," directory.
This commit is contained in:
parent
f6bba5ceb4
commit
d8af0d2eec
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ endif()
|
|||
|
||||
# Check if mbrtowc implementation attempts to encode invalid UTF-8 sequences
|
||||
# Known culprits: at least some versions of macOS (confirmed Snow Leopard and Yosemite)
|
||||
try_run(mbrtowc_invalid_utf8_exit, mbrtowc_invalid_utf8_compiles, ${CMAKE_CURRENT_BINARY_DIR},
|
||||
try_run(mbrtowc_invalid_utf8_exit mbrtowc_invalid_utf8_compiles ${CMAKE_CURRENT_BINARY_DIR}
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/checks/mbrtowc_invalid_utf8.cpp")
|
||||
IF ("${mbrtowc_invalid_utf8_compiles}" AND ("${mbrtowc_invalid_utf8_exit}" EQUAL 1))
|
||||
SET(HAVE_BROKEN_MBRTOWC_UTF8 1)
|
||||
|
|
Loading…
Reference in a new issue