guard autotests with X11 window system check result

This commit is contained in:
Stephan Witt 2012-12-13 20:54:05 +01:00
parent 96dd1363a2
commit 1dcb70a12f

View File

@ -716,7 +716,10 @@ if(LYX_INSTALL)
endif()
add_subdirectory(sourcedoc "${TOP_BINARY_DIR}/sourcedoc")
add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests")
if(Q_WS_X11)
message(STATUS "Adding auto test...")
add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests")
endif()
message(STATUS)
message(STATUS "Build options, switch LYX_* variables by -DLYX_*=ON or OFF:")