forked from qt-creator/qt-creator
QmlPuppetCommunication: Fix cmake file for lupdate
lupdate cannot handle conditional source files. Fixes target ts_untranslated. Change-Id: I4110df9c8d935e3d10446cc8cc3b5d10d192e612 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Eike Ziller
parent
e42d24fca9
commit
a7d8c4889e
@@ -40,7 +40,20 @@ extend_qtc_library(QmlPuppetCommunication
|
||||
propertyvaluecontainer.cpp propertyvaluecontainer.h
|
||||
reparentcontainer.cpp reparentcontainer.h
|
||||
sharedmemory.h
|
||||
$<IF:$<BOOL:${UNIX}>,sharedmemory_unix.cpp,sharedmemory_qt.cpp>
|
||||
)
|
||||
|
||||
extend_qtc_library(QmlPuppetCommunication
|
||||
SOURCES_PREFIX ${CMAKE_CURRENT_LIST_DIR}/container
|
||||
CONDITION UNIX
|
||||
SOURCES
|
||||
sharedmemory_unix.cpp
|
||||
)
|
||||
|
||||
extend_qtc_library(QmlPuppetCommunication
|
||||
SOURCES_PREFIX ${CMAKE_CURRENT_LIST_DIR}/container
|
||||
CONDITION NOT UNIX
|
||||
SOURCES
|
||||
sharedmemory_qt.cpp
|
||||
)
|
||||
|
||||
extend_qtc_library(QmlPuppetCommunication
|
||||
|
Reference in New Issue
Block a user