diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-03 12:28:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-05 03:24:01 +0200 |
commit | 9918192f0943a61e9970bad9f1a02ffbe3af8591 (patch) | |
tree | 7370ea0229100f54755d9f247e0e98e3ab9cab79 /cmake/opentrack-qt.cmake | |
parent | c0165f8b48852a1aca782d606ba4f1ea48eee6ba (diff) |
cmake: cleanup
- OTR_MODULE_NAME now unused
- _USE_MATH_DEFINES only needed for MSVC
- old cruft in i18n support
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r-- | cmake/opentrack-qt.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake index 3c9bb9a4..a5f2b0f2 100644 --- a/cmake/opentrack-qt.cmake +++ b/cmake/opentrack-qt.cmake @@ -60,4 +60,5 @@ function(otr_qt n) set(${n}-all "${${n}-all}" PARENT_SCOPE) include_directories(SYSTEM ${Qt5Core_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS}) add_definitions(${Qt5Core_DEFINITIONS} ${Qt5Gui_DEFINITIONS} ${Qt5Widgets_DEFINITIONS} ${Qt5Network_DEFINITIONS}) + add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) endfunction() |