summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:03:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commit7e07b216d6dddc2bd832bf85e2e5870cd4e48638 (patch)
treeff1dbed1c79d99288b15d868fb8ac5dd7a4cccb6 /cmake/opentrack-boilerplate.cmake
parent6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b (diff)
cmake: try add Visual Studio folders for boilerplate targets
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 62b256e9..38d3369d 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -149,6 +149,8 @@ function(otr_module n_)
if(NOT arg_NO-QT)
set_property(SOURCE ${${n}-moc} ${${n}-uih} PROPERTY GENERATED TRUE)
add_custom_target(moc-${n} DEPENDS ${${n}-moc} ${${n}-uih} ${${n}-rc} COMMENT "")
+ set_property(TARGET moc-${n} PROPERTY GENERATED TRUE)
+ set_property(TARGET moc-${n} PROPERTY FOLDER "moc")
add_dependencies(moc "moc-${n}")
endif()