SWDEV-249870: Short-Term solution for Pre-Compiled Headers for Online Compilation - Fix static build

Change-Id: Ib608e73dbffa2d803599cba5ba842cd5a2a2ba9d
Este commit está contenido en:
agodavar
2020-10-13 01:38:36 -04:00
cometido por Anusha Godavarthy Surya
padre 15ba5611ba
commit 4018464960
+1 -1
Ver fichero
@@ -224,7 +224,7 @@ target_link_libraries(device INTERFACE host)
# Short-Term solution for pre-compiled headers for online compilation
if(__HIP_ENABLE_PCH)
target_link_libraries(amdhip64 PRIVATE ${CMAKE_BINARY_DIR}/hip_pch.o)
target_sources(amdhip64 PRIVATE ${CMAKE_BINARY_DIR}/hip_pch.o)
endif()
# TODO: we may create host_static and device_static to let app