how to include directory based on condition in cmake

前端 未结 0 1738
轮回少年
轮回少年 2021-02-11 23:37

I am using windriver compile. I followed below steps

set(var_1)
if(var_1)
 target_include_directories(cfar  PRIVATE ${APP_DIR}/z7b/variant_1)
else
 target_include         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题