Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platforms/unix.cmake')
-rw-r--r--cmake/platforms/unix.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/platforms/unix.cmake b/cmake/platforms/unix.cmake
index 98474485..4d056d0a 100644
--- a/cmake/platforms/unix.cmake
+++ b/cmake/platforms/unix.cmake
@@ -96,6 +96,10 @@ if(GTK_FOUND)
endif()
endfunction()
check_x11()
+else()
+ # If we didn't even have GTK, behave as if X11 is not available.
+ # (There's nothing useful we could do with it even if there was.)
+ set(NOT_X_WINDOWS ON)
endif()
include_directories(${CMAKE_SOURCE_DIR}/charset ${GTK_INCLUDE_DIRS} ${X11_INCLUDE_DIR})