diff options
Diffstat (limited to 'cmake/modules/AddCMockaTest.cmake')
-rw-r--r-- | cmake/modules/AddCMockaTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/AddCMockaTest.cmake b/cmake/modules/AddCMockaTest.cmake index b2d1ca8a4..1c0bc04f6 100644 --- a/cmake/modules/AddCMockaTest.cmake +++ b/cmake/modules/AddCMockaTest.cmake @@ -18,6 +18,7 @@ endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW) function (ADD_CMOCKA_TEST _testName _testSource) add_executable(${_testName} ${_testSource}) + ecm_mark_nongui_executable(${_testName}) target_link_libraries(${_testName} ${ARGN}) add_test(${_testName} ${CMAKE_CURRENT_BINARY_DIR}/${_testName}) endfunction (ADD_CMOCKA_TEST) |