How to clear/delete a cache variable

前端 未结 1 1396
旧时难觅i
旧时难觅i 2020-12-16 16:45

Trying to get find_path to do what I want.

find_path(temmp include/help.h)
message(\"temmp= ${temmp}\")

help.h is found. The

相关标签:
1条回答
  • 2020-12-16 17:06

    You can use unset:

    unset(temmp CACHE)
    

    As an aside, the find_path calls should be more like:

    find_path(temmp help.h include)
    
    0 讨论(0)
提交回复
热议问题