summaryrefslogtreecommitdiffstats
path: root/src/tests/apiset/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/apiset/CMakeLists.txt')
-rw-r--r--src/tests/apiset/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/apiset/CMakeLists.txt b/src/tests/apiset/CMakeLists.txt
index 62ca5e44..59b51319 100644
--- a/src/tests/apiset/CMakeLists.txt
+++ b/src/tests/apiset/CMakeLists.txt
@@ -16,6 +16,10 @@
# limitations under the License.
###########################################################################
+add_definitions(
+ -DAGL_DEVEL=$<BOOL:${AGL_DEVEL}>
+ -DWITH_AFB_HOOK=$<BOOL:${WITH_AFB_HOOK}>
+)
add_executable(test-apiset test-apiset.c)
target_include_directories(test-apiset PRIVATE ../..)
target_link_libraries(test-apiset afb-lib ${link_libraries})