Merge pull request #3157 from kermitbu/master

use cmake compile the unittest
This commit is contained in:
Luca Boccassi 2018-06-06 13:03:07 +01:00 committed by GitHub
commit add97caa4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ if(WIN32)
endif()
include_directories("${CMAKE_SOURCE_DIR}/include" "${CMAKE_SOURCE_DIR}/src" "${CMAKE_BINARY_DIR}")
include_directories("${CMAKE_SOURCE_DIR}/external/unity")
foreach(test ${unittests})
# target_sources not supported before CMake 3.1