Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2018-02-02 22:42:35 +0300
committerMarkus Goetz <markus@woboq.com>2018-02-07 17:26:27 +0300
commit7170fe4a8c535e00e1b4a120d7208fd685612e0f (patch)
treed67adc7fb722d1a47a6708c6880600a5522a8a08
parent7df66f72aac595295dffcf4dc8a536822008c51d (diff)
Fix ui_CrashReporter.h generation
On macOS with Qt 5.10.1 I had the Makefile not being properly generated without this. Error was: /bin/sh: -o: command not found
-rw-r--r--src/libcrashreporter-gui/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcrashreporter-gui/CMakeLists.txt b/src/libcrashreporter-gui/CMakeLists.txt
index 2713686..d8047b3 100644
--- a/src/libcrashreporter-gui/CMakeLists.txt
+++ b/src/libcrashreporter-gui/CMakeLists.txt
@@ -22,8 +22,6 @@ list(APPEND crashreporter_SOURCES
)
endif()
-qt5_wrap_ui(crashreporter_UI_HEADERS ${crashreporter_UI})
-
add_library(crashreporter-gui STATIC
${crashreporter_SOURCES}
${crashreporter_HEADERS_MOC}
@@ -39,6 +37,7 @@ target_link_libraries(crashreporter-gui
${crashreporter_LIBRARIES}
)
+set_target_properties(crashreporter-gui PROPERTIES AUTOUIC ON)
set_target_properties(crashreporter-gui PROPERTIES AUTOMOC ON)
#install(TARGETS crashreporter-gui
# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}