-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[qt-advanced-docking-system] updated qt-advanced-docking-system to 3.…
…2.1 (#10170) * updated qt-advanced-docking-system to 3.2.1 * fixed source hash * made requested changes * fix linux build * Update to 3.2.5, fix hash discrepancy
- Loading branch information
1 parent
ff32240
commit 657becf
Showing
3 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Source: qt-advanced-docking-system | ||
Version: 2019-08-14-1 | ||
Build-Depends: qt5-base, zlib, bzip2 | ||
Description: Create customizable layouts using an advanced window docking system similar to what is found in many popular IDEs such as Visual Studio | ||
Source: qt-advanced-docking-system | ||
Version: 3.2.5 | ||
Build-Depends: qt5-base, zlib, bzip2 | ||
Description: Create customizable layouts using an advanced window docking system similar to what is found in many popular IDEs such as Visual Studio | ||
Homepage: https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,47 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 8a9f919..9c2b8ad 100644 | ||
index 578dfc1..a4c9460 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -62,7 +62,7 @@ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4") | ||
@@ -70,7 +70,7 @@ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4") | ||
else() | ||
set(ads_PlatformDir "x64") | ||
endif() | ||
-if(BUILD_STATIC) | ||
+if(NOT BUILD_SHARED_LIBS) | ||
add_library(qtadvanceddocking STATIC ${ads_SRCS}) | ||
set(ads_COMPILE_DEFINE ${ads_COMPILE_DEFINE} ADS_STATIC) | ||
target_compile_definitions(qtadvanceddocking PUBLIC ADS_STATIC) | ||
else() | ||
@@ -80,7 +80,7 @@ install(FILES | ||
@@ -88,7 +88,7 @@ install(FILES | ||
COMPONENT license | ||
) | ||
install(TARGETS qtadvanceddocking | ||
- EXPORT adsBinary | ||
- EXPORT adsTargets | ||
+ EXPORT qt-advanced-docking-systemConfig | ||
RUNTIME DESTINATION bin COMPONENT library | ||
LIBRARY DESTINATION lib COMPONENT library | ||
ARCHIVE DESTINATION lib COMPONENT library | ||
@@ -93,7 +93,6 @@ target_link_libraries(qtadvanceddocking PUBLIC ${ads_LIBS}) | ||
RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib | ||
@@ -100,14 +100,8 @@ write_basic_package_version_file("adsConfigVersion.cmake" | ||
VERSION ${ads_VERSION} | ||
COMPATIBILITY SameMajorVersion | ||
) | ||
-install(EXPORT adsTargets | ||
- FILE adsTargets.cmake | ||
- NAMESPACE ads:: | ||
- DESTINATION lib/cmake/ads | ||
-) | ||
-install(FILES "adsConfig.cmake" "${CMAKE_BINARY_DIR}/adsConfigVersion.cmake" | ||
- DESTINATION lib/cmake/ads | ||
-) | ||
+ | ||
+install(EXPORT qt-advanced-docking-systemConfig NAMESPACE qt-advanced-docking-system:: DESTINATION share/qt-advanced-docking-system) | ||
|
||
target_include_directories(qtadvanceddocking PUBLIC | ||
"$<BUILD_INTERFACE:${ads_INCLUDE}>" | ||
@@ -117,7 +111,6 @@ target_link_libraries(qtadvanceddocking PUBLIC ${ads_LIBS}) | ||
target_compile_definitions(qtadvanceddocking PRIVATE ${ads_COMPILE_DEFINE}) | ||
set_target_properties(qtadvanceddocking PROPERTIES | ||
VERSION ${ads_VERSION} | ||
- EXPORT_NAME "Qt Advanced Docking System" | ||
- EXPORT_NAME "QtAdvancedDockingSystem" | ||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${ads_PlatformDir}/lib" | ||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${ads_PlatformDir}/lib" | ||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${ads_PlatformDir}/bin" | ||
@@ -103,3 +102,4 @@ if(BUILD_EXAMPLES) | ||
add_subdirectory(demo) | ||
endif() | ||
|
||
+install(EXPORT qt-advanced-docking-systemConfig NAMESPACE qt-advanced-docking-system:: DESTINATION share/qt-advanced-docking-system) | ||
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters