2022-01-05 06:45:21 +08:00
|
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2022-04-16 02:18:51 +08:00
|
|
|
index 49cd799..6535465 100644
|
2022-01-05 06:45:21 +08:00
|
|
|
--- a/src/CMakeLists.txt
|
|
|
|
+++ b/src/CMakeLists.txt
|
2022-04-16 02:18:51 +08:00
|
|
|
@@ -54,7 +54,7 @@ if (UNIX AND NOT APPLE)
|
2022-01-05 06:45:21 +08:00
|
|
|
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()
|