don't use sanitizer when building ocloc

Change-Id: I910802b95e338414300f1b307444331801f3c87a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2019-02-19 13:23:14 +01:00
committed by sys_ocldev
parent 22ec1d1b22
commit 86b4892388
3 changed files with 6 additions and 5 deletions

View File

@@ -26,6 +26,8 @@ if(WIN32)
string(REPLACE "/O2" "/Od" CMAKE_C_FLAGS_RELEASEINTERNAL ${CMAKE_C_FLAGS_RELEASEINTERNAL})
endif()
link_libraries(${ASAN_LIBS} ${TSAN_LIBS})
add_custom_target(unit_tests)
add_custom_target(run_unit_tests ALL)
@@ -465,4 +467,4 @@ if(MSVC)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_ult_pch})
endif()
# Dont add any sources below PCH logic. This is to keep PCH dependencies correctly without creating new target
# Dont add any sources below PCH logic. This is to keep PCH dependencies correctly without creating new target