mirror of https://github.com/ARMmbed/mbed-os.git
Including CTest explicitly
enable_test() seems to include CTest framework in the CMakeLists.txt but that would result in inconsistencies and CTest framework will not be able to find DartConfiguration file or MemCheck tool. Including CTest framework explicitely in the CMakeLists.txt seems to solve the issue.pull/9601/head
parent
c07410d78c
commit
d257d7287f
|
@ -59,7 +59,7 @@ target_include_directories(gmock_main SYSTEM BEFORE INTERFACE
|
|||
# TESTING
|
||||
####################
|
||||
|
||||
enable_testing()
|
||||
include(CTest)
|
||||
|
||||
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES
|
||||
"${CMAKE_BINARY_DIR}/Testing"
|
||||
|
|
Loading…
Reference in New Issue