CMake: Do not try building docs if MSVC (bug #534)

This commit is contained in:
Sebastian Pipping 2016-08-15 18:57:06 +02:00
parent a46258d1f6
commit 2074c16a99

View File

@ -111,7 +111,7 @@ if(BUILD_tools AND NOT WINCE)
set_property(TARGET xmlwf PROPERTY RUNTIME_OUTPUT_DIRECTORY xmlwf) set_property(TARGET xmlwf PROPERTY RUNTIME_OUTPUT_DIRECTORY xmlwf)
target_link_libraries(xmlwf expat) target_link_libraries(xmlwf expat)
install(TARGETS xmlwf DESTINATION bin) install(TARGETS xmlwf DESTINATION bin)
if(BUILD_doc) if(BUILD_doc AND NOT MSVC)
if(CMAKE_GENERATOR STREQUAL "Unix Makefiles") if(CMAKE_GENERATOR STREQUAL "Unix Makefiles")
set(make_command "$(MAKE)") set(make_command "$(MAKE)")
else() else()