]> git.lyx.org Git - features.git/commitdiff
guard autotests with X11 window system check result
authorStephan Witt <switt@lyx.org>
Thu, 13 Dec 2012 19:54:05 +0000 (20:54 +0100)
committerStephan Witt <switt@lyx.org>
Thu, 13 Dec 2012 19:54:13 +0000 (20:54 +0100)
CMakeLists.txt

index 61777ef02ef1eb3fb20cbe6aac4cedb01cea97bb..0b2fd243eb5127be8acda3c4778f79e473b6679b 100644 (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:")