1 2 3 4 5 6 7 8 9 10 11 12 13
# -*- cmake -*- include(Prebuilt) set(NVAPI ON CACHE BOOL "Use NVAPI.") if (NVAPI) if (WINDOWS) add_library( ll::nvapi INTERFACE IMPORTED ) target_link_libraries( ll::nvapi INTERFACE nvapi) use_prebuilt_binary(nvapi) endif (WINDOWS) endif (NVAPI)