13 lines
424 B
Diff
Executable file
13 lines
424 B
Diff
Executable file
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e6c6054..2c4b757 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -124,6 +124,8 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|
add_definitions(-DOS_FREEBSD)
|
|
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
add_definitions(-DOS_MACOSX)
|
|
+elseif(MSVC)
|
|
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
endif()
|
|
|
|
function(transform_sources_list INPUT_FILE OUTPUT_FILE)
|