mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-17 10:35:41 +00:00
Merge pull request #1016 from ffontaine/main
CMakeLists.txt: fix build without C++
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -56,6 +56,8 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
enable_language(CXX)
|
||||
|
||||
add_compile_definitions(_CRT_SECURE_NO_WARNINGS=1)
|
||||
add_compile_definitions(_CRT_NONSTDC_NO_WARNINGS=1)
|
||||
add_compile_definitions(_WINSOCK_DEPRECATED_NO_WARNINGS=1)
|
||||
|
||||
Reference in new issue
Block a user