cpuinfo icon indicating copy to clipboard operation
cpuinfo copied to clipboard

Install the config

Open xsacha opened this issue 6 years ago • 3 comments

Install config for cpuinfo so that it can found with find_package(cpuinfo) and used with target_link_libraries(... cpuinfo::cpuinfo)

xsacha avatar Mar 16 '19 13:03 xsacha

Could you explain the details? Also, which CMake version did you target (cpuinfo currently targets CMake 2.8, but we can update it to 3.5. Going above 3.5, however, would be hard as some cpuinfo users target 3.5)

Maratyszcza avatar Mar 17 '19 03:03 Maratyszcza

Definitely not above 3.5. I think 3.0.

xsacha avatar Mar 17 '19 08:03 xsacha

Just a note: If you set the Travis CI to use the version of CMake you desire, then you never need to worry about compatibility -- it would fail to compile.

xsacha avatar Mar 17 '19 23:03 xsacha