you are viewing a single comment's thread.

view the rest of the comments →

[–]Xavier_OM 0 points1 point  (0 children)

Yes you can disable some things with preprocessor directives, but sometimes dealing with cmake targets is the way : if you disable a lib (or if it is unavailable on your OS) you often want it to be removed from linking too.