update build file

This commit is contained in:
jussi 2020-01-24 17:15:11 +02:00
parent 039699189b
commit 3ccdaade85

View File

@ -29,7 +29,7 @@ libdrm_amdgpu = cc.find_library('libdrm_amdgpu', required : false)
libdrm_dep = dependency('libdrm')
if libdrm_amdgpu.found()
shared_library('amdgpu', 'amdgpu.c',
shared_library('amdgpu', 'amdgpu.cpp',
include_directories : incdir,
dependencies : [libdrm_amdgpu, libdrm_dep],
link_with : libtuxclocker,