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()