Handle the option USE_COMGR_LIBRARY correctly
This is a follow up to http://gerrit-git.amd.com/c/compute/ec/vdi/+/359563. The setting is now either ON or OFF, never "yes". Change-Id: I031d013a8d239dc72ef610da81bd31b8b78a3ba8
Tá an tiomantas seo le fáil i:
1 tuismitheoir
fabfc42b68
tiomantas
3a84fcd13e
2 comhad athraithe
+2
-2
Níor tháinig aon chomhaid le do chuardach
@@ -37,7 +37,7 @@ target_include_directories(oclrocm
|
||||
${ROCR_INCLUDES})
|
||||
|
||||
|
||||
if(${USE_COMGR_LIBRARY} MATCHES "yes")
|
||||
if(USE_COMGR_LIBRARY)
|
||||
target_compile_definitions(oclrocm
|
||||
PRIVATE USE_COMGR_LIBRARY)
|
||||
endif()
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir