-
I guess it must be obvious but i can't really find my way around .. How do i pass -Dxxxx or -Dxxxx=yyy to the package loaded by CPMAddPackage for configuring the cmake scripts of the package loaded ? Thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think what you're looking for is Lines 34 to 42 in 8e8dcc9 Check out the README and wiki for examples. |
Beta Was this translation helpful? Give feedback.
-
Thanks i was thinking that for OPTIONS you always have to have a key value pair for any option so therefore my question. I tried now to just pass the key and that seems to work 💯 |
Beta Was this translation helpful? Give feedback.
I think what you're looking for is
OPTIONS
, see the README.CPM.cmake/README.md
Lines 34 to 42 in 8e8dcc9
Check out the README and wiki for examples.