vcpkg/ports/qt-advanced-docking-system/config_changes.patch
Stijn Herfst 0ad0d1ec6b
[qt-advanced-docking-system] update to 3.6.1 (#13340)
* update to 3.6.1

* remove unneeded changes

* fix qt5-x11extras linux dependency

* add dependency for osx

* make requested changes

* change hash
2020-09-14 17:02:31 -07:00

14 lines
494 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0bd721d..4848c5f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -52,7 +52,7 @@ if (UNIX)
set(ads_SRCS linux/FloatingWidgetTitleBar.cpp ${ads_SRCS})
set(ads_HEADERS linux/FloatingWidgetTitleBar.h ${ads_HEADERS})
endif()
-if(BUILD_STATIC)
+if(NOT BUILD_SHARED_LIBS)
add_library(qtadvanceddocking STATIC ${ads_SRCS} ${ads_HEADERS})
target_compile_definitions(qtadvanceddocking PUBLIC ADS_STATIC)
else()