Fix missing QTSINGLECOREAPPLICATION_LIBRARIES
In f3837f95db
, QTSINGLECOREAPPLICATION_LIBRARIES was mistakenly removed, which prevents building with USE_SYSTEM_QTSINGLEAPPLICATION enabled.
This commit is contained in:
parent
4768cb9efb
commit
994d16effa
|
@ -232,6 +232,7 @@ jobs:
|
|||
qt5-qtx11extras-devel
|
||||
qt5-rpm-macros
|
||||
qtsingleapplication-qt5-devel
|
||||
qtsinglecoreapplication-qt5-devel
|
||||
rpmdevtools
|
||||
sha2-devel
|
||||
sparsehash-devel
|
||||
|
@ -305,6 +306,7 @@ jobs:
|
|||
qt5-qtx11extras-devel
|
||||
qt5-rpm-macros
|
||||
qtsingleapplication-qt5-devel
|
||||
qtsinglecoreapplication-qt5-devel
|
||||
rpmdevtools
|
||||
sha2-devel
|
||||
sparsehash-devel
|
||||
|
@ -378,6 +380,7 @@ jobs:
|
|||
qt5-qtx11extras-devel
|
||||
qt5-rpm-macros
|
||||
qtsingleapplication-qt5-devel
|
||||
qtsinglecoreapplication-qt5-devel
|
||||
rpmdevtools
|
||||
sha2-devel
|
||||
sparsehash-devel
|
||||
|
|
|
@ -354,6 +354,11 @@ if(USE_SYSTEM_QTSINGLEAPPLICATION)
|
|||
add_library(qtsingleapplication INTERFACE)
|
||||
target_link_libraries(qtsingleapplication INTERFACE QTSINGLEAPPLICATION_LIBRARIES)
|
||||
target_include_directories(qtsingleapplication INTERFACE QTSINGLEAPPLICATION_INCLUDE_DIRS)
|
||||
find_path(QTSINGLECOREAPPLICATION_INCLUDE_DIRS qtsinglecoreapplication.h PATH_SUFFIXES qt5/QtSolutions REQUIRED)
|
||||
find_library(QTSINGLECOREAPPLICATION_LIBRARIES Qt5Solutions_SingleCoreApplication-2.6 REQUIRED)
|
||||
add_library(qtsinglecoreapplication INTERFACE)
|
||||
target_link_libraries(qtsinglecoreapplication INTERFACE QTSINGLECOREAPPLICATION_LIBRARIES)
|
||||
target_include_directories(qtsinglecoreapplication INTERFACE QTSINGLECOREAPPLICATION_INCLUDE_DIRS)
|
||||
else(USE_SYSTEM_QTSINGLEAPPLICATION)
|
||||
add_subdirectory(3rdparty/qtsingleapplication)
|
||||
set(QTSINGLEAPPLICATION_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qtsingleapplication)
|
||||
|
|
Loading…
Reference in New Issue