File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- add_library (linuxdeploy-plugin-qt_util OBJECT util.cpp util.h )
1
+ # TODO: CMake <= 3.7 (at least!) doesn't allow for using OBJECT libraries with target_link_libraries
2
+ add_library (linuxdeploy-plugin-qt_util STATIC util.cpp util.h )
2
3
target_include_directories (linuxdeploy-plugin-qt_util PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} )
3
4
target_link_libraries (linuxdeploy-plugin-qt_util linuxdeploy_core args )
4
5
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ set(CLASSES
18
18
GamepadPluginsDeployer
19
19
)
20
20
21
- add_library (deployers OBJECT )
21
+ # TODO: CMake <= 3.7 (at least!) doesn't allow for using OBJECT libraries with target_link_libraries
22
+ add_library (deployers STATIC )
22
23
23
24
target_link_libraries (deployers PUBLIC linuxdeploy_core linuxdeploy-plugin-qt_util )
24
25
You can’t perform that action at this time.
0 commit comments