mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-27 00:34:16 +01:00
Change if statement in qtsingleapplication/CMakeLists.txt
This commit is contained in:
parent
142d5e2347
commit
9fb3d06aac
8
3rdparty/qtsingleapplication/CMakeLists.txt
vendored
8
3rdparty/qtsingleapplication/CMakeLists.txt
vendored
@ -13,11 +13,11 @@ set(SINGLEAPP-MOC-HEADERS
|
|||||||
qtsinglecoreapplication.h
|
qtsinglecoreapplication.h
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(UNIX)
|
||||||
set(SINGLEAPP-SOURCES ${SINGLEAPP-SOURCES} qtlockedfile_win.cpp)
|
|
||||||
elseif(WIN32)
|
|
||||||
set(SINGLEAPP-SOURCES ${SINGLEAPP-SOURCES} qtlockedfile_unix.cpp)
|
set(SINGLEAPP-SOURCES ${SINGLEAPP-SOURCES} qtlockedfile_unix.cpp)
|
||||||
endif(WIN32)
|
elseif(WIN32)
|
||||||
|
set(SINGLEAPP-SOURCES ${SINGLEAPP-SOURCES} qtlockedfile_win.cpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
QT5_WRAP_CPP(SINGLEAPP-SOURCES-MOC ${SINGLEAPP-MOC-HEADERS})
|
QT5_WRAP_CPP(SINGLEAPP-SOURCES-MOC ${SINGLEAPP-MOC-HEADERS})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user