how can i check if directory exist and add a compile definition in cmake

后端 未结 0 562
借酒劲吻你
借酒劲吻你 2021-01-07 15:08

I have this if-statement from a Makefile

ifneq ($(shell test -e /usr/include/linux/signalfd.h && echo 1),)
CFLAGS += -DUSE_SIGNALFD
endif
相关标签:
回答
  • 消灭零回复
提交回复
热议问题