summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-qt.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-29 08:48:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-10-29 08:25:57 +0000
commit523d7290148c17aadae0d2d3c7d9783f60419171 (patch)
tree54385e0eaea6371912d50e7ddda57d60ba93e031 /cmake/opentrack-qt.cmake
parent8d61e6f2687fe0ca7cd16602d22d01ddd3db7091 (diff)
cmake: try fix all generators
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r--cmake/opentrack-qt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index b5aecdc2..e90e3250 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -50,7 +50,7 @@ function(otr_qt n)
if(".${${n}-cc}${${n}-cxx}${${n}-hh}" STREQUAL ".")
message(FATAL_ERROR "project ${n} not globbed")
endif()
- qt5_wrap_cpp(${n}-moc ${${n}-hh} OPTIONS --no-notes)
+ qt5_wrap_cpp(${n}-moc ${${n}-hh} OPTIONS --no-notes -I "${CMAKE_CURRENT_BINARY_DIR}" -I "${CMAKE_SOURCE_DIR}")
qt5_wrap_ui(${n}-uih ${${n}-ui})
qt5_add_resources(${n}-rcc ${${n}-rc})