From 2074c16a9963e67848af1a9c2c5ad1768b2b0b98 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 15 Aug 2016 18:57:06 +0200 Subject: [PATCH] CMake: Do not try building docs if MSVC (bug #534) --- expat/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 4e6ce31b..c4c3a4ec 100755 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -111,7 +111,7 @@ if(BUILD_tools AND NOT WINCE) set_property(TARGET xmlwf PROPERTY RUNTIME_OUTPUT_DIRECTORY xmlwf) target_link_libraries(xmlwf expat) install(TARGETS xmlwf DESTINATION bin) - if(BUILD_doc) + if(BUILD_doc AND NOT MSVC) if(CMAKE_GENERATOR STREQUAL "Unix Makefiles") set(make_command "$(MAKE)") else()