aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-07 00:19:30 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-07 00:19:30 +0100
commite855e4454cce0a3bdc51b785a44d7660ae5a921d (patch)
tree2abe93915bf7c223d948e016cbd1b2ad9a8d67b3 /unittests
parent213f08ee07c57d4781002cefe797f7ce9e9fd561 (diff)
downloadpx4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.tar.gz
px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.tar.bz2
px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.zip
exclude macro hack for tests target
Diffstat (limited to 'unittests')
-rw-r--r--unittests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt
index ec3e4104e..0737f6696 100644
--- a/unittests/CMakeLists.txt
+++ b/unittests/CMakeLists.txt
@@ -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})