mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[CMAKE] Prevent out-of-bound accesses in parser/lexer files
which try to remove path prefix from them.
This commit is contained in:
parent
15a828c86d
commit
09c4d0a74b
7 changed files with 26 additions and 0 deletions
|
@ -15,6 +15,9 @@ list(APPEND SOURCE
|
|||
winhelp.c
|
||||
precomp.h)
|
||||
|
||||
# macro.lex.yy.c has been generated with relative file paths...
|
||||
set_source_files_properties(macro.lex.yy.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||
|
||||
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
|
||||
add_executable(winhlp32 ${SOURCE} string.c rsrc.rc)
|
||||
set_module_type(winhlp32 win32gui)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue