mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
update method to find GmmLib
search order is: 1. check variable GMMUMD_LIB_NAME. if set target of this name should exist 2. check for variable GMM_SOURCE_DIR. if set include such folder and check GMMUMD_LIB_NAME for library name assumig 'gmm_umd' as default 3. check if gmmlib folder exists in workspace. if yes, then include it and check GMMUMD_LIB_NAME for library name assuming 'gmm_umd' as default Change-Id: I9f5f69ab97c0bb8f2c250ac91b69c3ccd048fdda
This commit is contained in:
committed by
sys_ocldev
parent
7255b17d6b
commit
2e5e1ac0fb
@@ -302,9 +302,6 @@ target_compile_definitions(${NEO_STATIC_LIB_NAME} PUBLIC DEFAULT_PLATFORM=${DEFA
|
||||
|
||||
link_directories(${GMM_LIB_PATHS})
|
||||
|
||||
if(NOT GMMUMD_LIB_NAME)
|
||||
set(GMMUMD_LIB_NAME "gmm_umd" CACHE STRING "name of gmm static library")
|
||||
endif()
|
||||
target_link_libraries(${NEO_STATIC_LIB_NAME} ${GMMUMD_LIB_NAME})
|
||||
|
||||
if(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user