[CMake] try_compile with multiple include directories

Isuru Fernando isuruf at gmail.com
Sun Sep 8 15:07:51 EDT 2019


Hello,

I can use the following to get try_compile to include one directory.

CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=dir1"

How do you use try_compile when I have multiple directories to pass to it?

Isuru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190908/a8f59d55/attachment.html>


More information about the CMake mailing list