diff --git a/cmake/Embed.cmake b/cmake/Embed.cmake index 4bc638b446..3946cf4e8d 100644 --- a/cmake/Embed.cmake +++ b/cmake/Embed.cmake @@ -233,6 +233,8 @@ function(add_embed_library EMBED_NAME) else() target_sources(${EMBED_NAME} INTERFACE $) endif() - target_include_directories(${EMBED_NAME} INTERFACE "${EMBED_DIR}/include") + target_include_directories(${EMBED_NAME} INTERFACE + $ + $) endfunction() diff --git a/codegen/CMakeLists.txt b/codegen/CMakeLists.txt index 3b3e9f06ee..5317b10d51 100644 --- a/codegen/CMakeLists.txt +++ b/codegen/CMakeLists.txt @@ -39,6 +39,7 @@ set_target_properties(ck_host PROPERTIES target_include_directories(ck_host PUBLIC $ + $ ) add_executable(ck-template-driver driver/main.cpp) @@ -48,6 +49,10 @@ rocm_install( TARGETS ck_host ck_headers EXPORT ck_hostTargets ) +rocm_install(EXPORT ck_hostTargets + FILE composable_kernelck_hostTargets.cmake + NAMESPACE composable_kernel:: + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/composable_kernel) rocm_install(DIRECTORY include/ck DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) add_subdirectory(test)