mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix warnings in DTL targets on Windows (use STDC)
This commit is contained in:
parent
aadfb58374
commit
6fac3144d5
3
3rdparty/dtl/CMakeLists.txt
vendored
3
3rdparty/dtl/CMakeLists.txt
vendored
@ -31,6 +31,9 @@ foreach(_t ${targets})
|
||||
add_executable(${_t} ${_t}.c)
|
||||
add_man(${_t}.man)
|
||||
endforeach()
|
||||
if (WIN32)
|
||||
set_target_properties(${targets} PROPERTIES LANGUAGE C COMPILE_FLAGS -D__STDC__)
|
||||
endif()
|
||||
|
||||
# Install dtl tools in this directory to omit possible packaging conflicts
|
||||
# if installing multiple lyx versions, each with own dtl executables
|
||||
|
Loading…
Reference in New Issue
Block a user