-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add qt5 main executor and fix stlabConfig.cmake defects (#524)
Support was added for a qt5 main executor since some users need more time to upgrade to qt6 and the complexity increase isn't high. `stlabConfig.cmake` did not conditionally import dependencies when required by a build configuration. This was fixed as part of this work.
- Loading branch information
1 parent
109872d
commit 7e5dc8a
Showing
8 changed files
with
59 additions
and
20 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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
include( CMakeFindDependencyMacro ) | ||
|
||
if ( @STLAB_USE_BOOST_CPP17_SHIMS@ ) | ||
find_dependency( Boost 1.74.0 ) | ||
endif() | ||
|
||
if ( @STLAB_TASK_SYSTEM@ STREQUAL "libdispatch" ) | ||
find_dependency( libdispatch ) | ||
endif() | ||
|
||
if ( @STLAB_MAIN_EXECUTOR@ STREQUAL "qt5" ) | ||
find_dependency( Qt5 COMPONENTS Core ) | ||
elseif ( @STLAB_MAIN_EXECUTOR@ STREQUAL "qt6" ) | ||
find_dependency( Qt6 COMPONENTS Core ) | ||
endif() | ||
|
||
if ( NOT @STLAB_THREAD_SYSTEM@ STREQUAL "none" ) | ||
find_dependency( Threads ) | ||
endif() | ||
|
||
include( "${CMAKE_CURRENT_LIST_DIR}/stlabTargets.cmake" ) |
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
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
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
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