We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e92c4 commit 3768bfdCopy full SHA for 3768bfd
tests/unit/CMakeLists.txt
@@ -1,7 +1,10 @@
1
cmake_minimum_required(VERSION 3.15)
2
3
enable_testing()
4
-set(UNIT_TEST_SOURCES sstream.c utils.c riscv_op_count_iter.c)
+set(UNIT_TEST_SOURCES sstream.c utils.c)
5
+if(CAPSTONE_RISCV_SUPPORT)
6
+ list(APPEND UNIT_TEST_SOURCES riscv_op_count_iter.c)
7
+endif()
8
include_directories(include)
9
10
foreach(TSRC ${UNIT_TEST_SOURCES})
0 commit comments