SWDEV-273235 - Cleanup OpenCL installation logic

Don't use hardcoded install destinations. CMake will decide where things
should be installed based on platform.

Change-Id: Ifcf956181d3efb32d4ce6191a89c1ea225d0e8cc
This commit is contained in:
Vladislav Sytchenko
2021-05-28 15:01:41 -04:00
förälder ae36b6c0aa
incheckning d53c19cfa5
5 ändrade filer med 19 tillägg och 21 borttagningar
+6
Visa fil
@@ -102,3 +102,9 @@ if(BUILD_SHARED_LIBS)
endif()
target_link_libraries(amdocl PUBLIC rocclr)
INSTALL(TARGETS amdocl
COMPONENT MAIN
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})