diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-07 08:20:35 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-07 08:20:35 +0100 |
commit | a01a8f955336e2825d23d5494703ea91f15e3ee1 (patch) | |
tree | 5e8dc5ef01fe9433c622981870496f746cc840ad | |
parent | e855e4454cce0a3bdc51b785a44d7660ae5a921d (diff) | |
download | px4-firmware-a01a8f955336e2825d23d5494703ea91f15e3ee1.tar.gz px4-firmware-a01a8f955336e2825d23d5494703ea91f15e3ee1.tar.bz2 px4-firmware-a01a8f955336e2825d23d5494703ea91f15e3ee1.zip |
add missing defines for unittests
-rw-r--r-- | unittests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 0737f6696..47b84f148 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -12,6 +12,8 @@ include_directories(${CMAKE_SOURCE_DIR}/../src/lib) add_definitions(-D__EXPORT=) add_definitions(-D__PX4_TESTS) +add_definitions(-Dnoreturn_function=) +add_definitions(-Dmain_t=int) function(add_gtest) foreach(test_name ${ARGN}) |