how to perform cmake::find_package at build stage only

Viewed 1739

I'm trying to include to make cmake-based project the library vlc-qt, as an external project from github repository.

The project uses recommended way :

FIND_PACKAGE(VLCQt REQUIRED COMPONENTS Widgets)

cmake performs this command at configuration stage so you see that library is not build on that moment.

what is a right way to avoid this?

1 Answers
Related