]> git.lyx.org Git - lyx.git/blobdiff - 3rdparty/dtl/CMakeLists.txt
Fix a crash when closing tabs
[lyx.git] / 3rdparty / dtl / CMakeLists.txt
index 999b8a20ba9fc01c1bc83f85f32a38346ecc398b..f757b26b17700b7a64e8b6e6b47e0f965e367dd9 100644 (file)
@@ -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