Skip to content

Commit

Permalink
Make Qt not a hard requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Sep 20, 2023
1 parent 9bead3a commit 078006d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 6 additions & 4 deletions CMakeLists.txt
Expand Up @@ -79,7 +79,9 @@ if (build_macstore OR TARGET desktop-app::external_dispatch)
)
endif()

target_link_libraries(lib_crl
PUBLIC
desktop-app::external_qt
)
if (TARGET desktop-app::external_qt)
target_link_libraries(lib_crl
PUBLIC
desktop-app::external_qt
)
endif()
4 changes: 1 addition & 3 deletions crl/common/crl_common_config.h
Expand Up @@ -48,9 +48,7 @@

#define CRL_USE_QT

#else // Qt
#error "Configuration is not supported."
#endif // !_MSC_VER && !dispatch && !Qt
#endif // !_MSC_VER && !dispatch && Qt

#if __has_include(<rpl/producer.h>)
#define CRL_ENABLE_RPL_INTEGRATION
Expand Down

0 comments on commit 078006d

Please sign in to comment.