cmake-find-requiredΒΆ
The
CMAKE_FIND_REQUIRED
variable was added to tellfind_package()
,find_path()
,find_file()
,find_library()
, andfind_program()
to beREQUIRED
by default. The commands also gained anOPTIONAL
keyword to ignore the variable for a specific call.