blob: 03635e2a5fc9a733212cd56c164197666d721adf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
find_package(Qt4 REQUIRED)
set(CMAKE_AUTOUIC ON)
set(CMAKE_DEBUG_TARGET_PROPERTIES AUTOUIC_OPTIONS)
add_library(KI18n INTERFACE)
set_property(TARGET KI18n APPEND PROPERTY
INTERFACE_AUTOUIC_OPTIONS -tr ki18n
)
add_library(OtherI18n INTERFACE)
set_property(TARGET OtherI18n APPEND PROPERTY
INTERFACE_AUTOUIC_OPTIONS -tr otheri18n
)
add_library(LibWidget empty.cpp)
target_link_libraries(LibWidget KI18n OtherI18n Qt4::QtGui)
|