vcpkg/ports/qt-advanced-docking-system/config_changes.patch
Thomas1664 c79c94dc5c
[qt-advanced-docking-system] Remove directory license (#24151)
* Update to 3.8.2

* version

* version
2022-04-15 11:18:51 -07:00

14 lines
508 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 49cd799..6535465 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -54,7 +54,7 @@ if (UNIX AND NOT APPLE)
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()