更新时间:2023-10-22 22:55:46
您应使用格式如下:
find_package(package version EXACT REQUIRED COMPONENTS components…)
因此,如果您恰好需要1.48,则应使用(示例):
so if you need exactly 1.48 then you should use (example):
find_package(Boost 1.48 EXACT REQUIRED COMPONENTS system thread date_time)