diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 22:45:38 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 22:45:38 +0100 |
commit | 323dd162f5326b998e1c92ab4cfec8a63574023f (patch) | |
tree | fb4f0f4f7585d3cb90aef453167c7f4df0c6eeee /cmake/opentrack-boilerplate.cmake | |
parent | 3981f867377ca0652d0cc0ababbbc30208db7e1c (diff) |
cmake: decruft, disable deprecated Qt functions
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 9d72c1af..40f65474 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -117,8 +117,6 @@ function(otr_install_pdb_current_project target) endif() endfunction() -include(CMakeParseArguments) - function(otr_module n_) message(STATUS "module ${n_}") cmake_parse_arguments(arg @@ -173,6 +171,10 @@ function(otr_module n_) set_property(TARGET "${n}" PROPERTY PREFIX "") endif() + if(NOT arg_NO-QT) + otr_qt2("${n}") + endif() + set(self "${n}" PARENT_SCOPE) if(NOT arg_RELINK) |