diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-03-20 14:57:37 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-03-20 15:00:19 +0300 |
commit | 75bd0eb81d93dc53b5d5c2a9fa12d2da8c47a21f (patch) | |
tree | 313f6436dbe53bc08cd61a5aa4b8b992f5e9c818 /test | |
parent | 8bdfa181540909f9d8a61d67f71e51ce69e02728 (diff) |
[CMake] Disable automoc for C targets
Diffstat (limited to 'test')
-rw-r--r-- | test/csync/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csync/CMakeLists.txt b/test/csync/CMakeLists.txt index 9a29476ee..22fd9c651 100644 --- a/test/csync/CMakeLists.txt +++ b/test/csync/CMakeLists.txt @@ -9,7 +9,7 @@ include_directories(${CHECK_INCLUDE_DIRS}) # create test library add_library(torture STATIC torture.c cmdline.c) target_link_libraries(torture ${CMOCKA_LIBRARIES}) -set_target_properties(torture PROPERTIES C_STANDARD 99) +set_target_properties(torture PROPERTIES C_STANDARD 99 AUTOMOC OFF) set(TEST_TARGET_LIBRARIES torture Qt5::Core "${csync_NAME}") |