Notes |
|
(0037736)
|
Brad King
|
2015-01-19 10:14
|
|
There is no such INCLUDE_DIRECTORIES option listed in the signature. The "extra flags" is referring to the CMAKE_FLAGS argument, to which you can give "-DINCLUDE_DIRECTORIES=/dir/a/include;/dir/b/include" to get custom include directories.
The documentation needs to be revised and clarified. |
|
|
(0037738)
|
Alexey Chernov
|
2015-01-19 10:25
|
|
Thanks for clarification of this.
So, is it right that all these three options (INCLUDE_DIRECTORIES, LINK_DIRECTORIES and LINK_LIBRARIES) are meant to be used with CMAKE_FLAGS, but LINK_LIBRARIES can be also used separately as try_compile() argument?
Generally yes, I agree that it's apparently documentation issue and not a bug. |
|
|
(0037739)
|
Brad King
|
2015-01-19 10:28
|
|
Re 0015358:0037738: Originally all three of those were meant only for use with -D but then the LINK_LIBRARIES option was added as an explicit argument in order to cleanly perform translation of imported targets. If LINK_LIBRARIES is an argument then it no longer works as a -D flag. The documentation is out of date on that I think. |
|
|
(0037740)
|
Alexey Chernov
|
2015-01-19 10:33
|
|
Thanks again for detailed information. Now it's completely clear for me. |
|
|
(0037916)
|
Brad King
|
2015-02-04 16:08
|
|
|
|
(0039037)
|
Robert Maynard
|
2015-07-08 08:57
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|