标题: PC 端 linux 下cmake pdsk 例程,没有连接设备,报错 [打印本页] 作者: 崔笑源 时间: 2021-8-17 标题: PC 端 linux 下cmake pdsk 例程,没有连接设备,报错 用的是官方pdsk Payload_SDK_V2.2.1-build.315\sample\platform\linux\manifold2\project
cmake 一直会报下面的错误
CMake Error at CMakeLists.txt:56 (target_link_libraries):
Target "test_demo" of type EXECUTABLE may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to executables
with the ENABLE_EXPORTS property set.