summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-05-13 04:50:26 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-05-13 04:50:26 +0200
commitc3284d622762eb008bc52d0c2c6e4953fe0bebe5 (patch)
tree5786039853be25f9ac4b390c0ce6783309b2bb20 /CMakeLists.txt
parent9c49ca07021cea3f923b39d70b3580970963d0ec (diff)
downloadipedma_test-c3284d622762eb008bc52d0c2c6e4953fe0bebe5.tar.gz
ipedma_test-c3284d622762eb008bc52d0c2c6e4953fe0bebe5.tar.bz2
ipedma_test-c3284d622762eb008bc52d0c2c6e4953fe0bebe5.tar.xz
ipedma_test-c3284d622762eb008bc52d0c2c6e4953fe0bebe5.zip
Support streaming mode DMAHEADmaster
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb1b766..4721538 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,8 @@ link_directories(
${PCILIB_LIBRARY_DIRS}
)
+add_definitions("-fPIC --std=c99 -O2 -gdwarf-2 -g3")
+
add_executable(ipedma_test ipedma_test.c)
target_link_libraries(ipedma_test ${PCILIB_LIBRARIES})
set_target_properties(ipedma_test PROPERTIES COMPILE_FLAGS -Wno-array-bounds)