exclude macro hack for tests target

This commit is contained in:
Thomas Gubler
2015-01-07 00:19:30 +01:00
parent 213f08ee07
commit e855e4454c
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ include_directories(${CMAKE_SOURCE_DIR}/../src/modules)
include_directories(${CMAKE_SOURCE_DIR}/../src/lib)
add_definitions(-D__EXPORT=)
add_definitions(-D__PX4_TESTS)
function(add_gtest)
foreach(test_name ${ARGN})