commit bcde3d00165789db1e1ef183fab968c091faab8c
Author: Kornel Benko <[email protected]>
Date:   Thu Apr 9 11:58:49 2020 +0200

    Amend b280fed1: 3rdparty/dtl: Use preprocessor value on Windows
---
 3rdparty/dtl/CMakeLists.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/3rdparty/dtl/CMakeLists.txt b/3rdparty/dtl/CMakeLists.txt
index d1c5f4c..e70d286 100644
--- a/3rdparty/dtl/CMakeLists.txt
+++ b/3rdparty/dtl/CMakeLists.txt
@@ -16,7 +16,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
 project(dt2dv C)
 
 if (WIN32)
-  #set_source_files_properties(dt2dv.c dv2dt.c PROPERTIES LANGUAGE C 
COMPILE_FLAGS _CRT_SECURE_NO_WARNINGS)
+  set_source_files_properties(dt2dv.c dv2dt.c PROPERTIES LANGUAGE C 
COMPILE_FLAGS -D_CRT_SECURE_NO_WARNINGS=1)
 endif()
 add_executable(dt2dv dt2dv.c)
 add_executable(dv2dt dv2dt.c)
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to