CMake: Do not try building docs if MSVC (bug #534)
This commit is contained in:
parent
a46258d1f6
commit
2074c16a99
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user