Update CMakeLists.txt
This commit is contained in:
parent
140c057a5b
commit
4d03492994
@ -11,6 +11,8 @@ else()
|
|||||||
${MPP_SRC_ROOT}/utils/mpp_opt.c
|
${MPP_SRC_ROOT}/utils/mpp_opt.c
|
||||||
${MPP_SRC_ROOT}/utils/dictionary.c
|
${MPP_SRC_ROOT}/utils/dictionary.c
|
||||||
${MPP_SRC_ROOT}/utils/iniparser.c)
|
${MPP_SRC_ROOT}/utils/iniparser.c)
|
||||||
|
set(MPP_BASE_SOURCE
|
||||||
|
${MPP_SRC_ROOT}/mpp/base/mpp_trie.c)
|
||||||
|
|
||||||
if(NOT EXISTS ${MPP_TEST_SOURCE})
|
if(NOT EXISTS ${MPP_TEST_SOURCE})
|
||||||
message(FATAL_ERROR "mpi_dec_test.c not found at ${MPP_TEST_SOURCE}. Verify RK_MPP_ROOT")
|
message(FATAL_ERROR "mpi_dec_test.c not found at ${MPP_TEST_SOURCE}. Verify RK_MPP_ROOT")
|
||||||
@ -29,7 +31,8 @@ else()
|
|||||||
|
|
||||||
add_executable(mpp_decode_demo
|
add_executable(mpp_decode_demo
|
||||||
${MPP_TEST_SOURCE}
|
${MPP_TEST_SOURCE}
|
||||||
${MPP_UTIL_SOURCE})
|
${MPP_UTIL_SOURCE}
|
||||||
|
${MPP_BASE_SOURCE})
|
||||||
|
|
||||||
target_include_directories(mpp_decode_demo PRIVATE
|
target_include_directories(mpp_decode_demo PRIVATE
|
||||||
${MPP_SRC_ROOT}/inc
|
${MPP_SRC_ROOT}/inc
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user