mirror of
https://github.com/shadps4-emu/ext-hwinfo.git
synced 2026-01-31 00:55:22 +01:00
* feat: make hwinfo features modular * fix: use the latest available C++ standard * fix!: deprecate NO_OCL in favour of HWINFO_GPU_OPENCL * doc: add docs for the modular targets/options * fix: add preprocessor feature guards * ci: test build of all features in ci * fix: detect C++ standard after enabling C++ language
11 lines
252 B
CMake
11 lines
252 B
CMake
add_executable(Example example.cpp)
|
|
|
|
include(FetchContent)
|
|
FetchContent_Declare(
|
|
fmt
|
|
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
|
|
GIT_TAG 11.0.1)
|
|
FetchContent_MakeAvailable(fmt)
|
|
|
|
target_link_libraries(Example PRIVATE hwinfo::hwinfo fmt::fmt)
|