mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Add /J flag on Windows to force unsigned char
This commit is contained in:
parent
874de5d25b
commit
a4bc3fdf32
1 changed files with 8 additions and 4 deletions
|
@ -31,12 +31,16 @@ FindRequiredPackage(FLEX)
|
||||||
FindRequiredPackage(BISON)
|
FindRequiredPackage(BISON)
|
||||||
|
|
||||||
if (MISSING_PREREQS)
|
if (MISSING_PREREQS)
|
||||||
foreach (prereq ${MISSING_PREREQ_DESCS})
|
foreach (prereq ${MISSING_PREREQ_DESCS})
|
||||||
message(SEND_ERROR ${prereq})
|
message(SEND_ERROR ${prereq})
|
||||||
endforeach ()
|
endforeach ()
|
||||||
message(FATAL_ERROR "Configuration aborted due to missing prerequisites")
|
message(FATAL_ERROR "Configuration aborted due to missing prerequisites")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
add_compile_options(/J) # Similar to -funsigned-char on other platforms
|
||||||
|
endif()
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
## System Introspection
|
## System Introspection
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue