We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831d90e commit 55f2379Copy full SHA for 55f2379
src/CMakeLists.txt
@@ -1,6 +1,9 @@
1
cmake_minimum_required(VERSION 3.5)
2
project(QtAdvancedDockingSystem LANGUAGES CXX VERSION ${VERSION_SHORT})
3
-find_package(Qt5 5.5 COMPONENTS Core Gui Widgets X11Extras REQUIRED)
+find_package(Qt5 5.5 COMPONENTS Core Gui Widgets REQUIRED)
4
+if (UNIX)
5
+ find_package(Qt5 5.5 COMPONENTS X11Extras REQUIRED)
6
+endif()
7
set(CMAKE_INCLUDE_CURRENT_DIR ON)
8
if(BUILD_STATIC)
9
set(CMAKE_STATIC_LIBRARY_SUFFIX "_static${CMAKE_STATIC_LIBRARY_SUFFIX}")
0 commit comments