diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-07 00:19:30 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-07 00:19:30 +0100 |
commit | e855e4454cce0a3bdc51b785a44d7660ae5a921d (patch) | |
tree | 2abe93915bf7c223d948e016cbd1b2ad9a8d67b3 /unittests/CMakeLists.txt | |
parent | 213f08ee07c57d4781002cefe797f7ce9e9fd561 (diff) | |
download | px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.tar.gz px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.tar.bz2 px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.zip |
exclude macro hack for tests target
Diffstat (limited to 'unittests/CMakeLists.txt')
-rw-r--r-- | unittests/CMakeLists.txt | 1 |
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}) |