updating CMake

This commit is contained in:
Astha Rai
2024-09-05 08:03:52 +00:00
parent 652a7c0463
commit a685822e36
2 changed files with 6 additions and 2 deletions

View File

@@ -565,7 +565,9 @@ if(NOT DEFINED INSTANCES_ONLY)
PACKAGE_NAME examples
)
add_subdirectory(example)
add_subdirectory(test)
if(BUILD_TESTING)
add_subdirectory(test)
endif()
rocm_package_setup_component(profiler
LIBRARY_NAME composablekernel

View File

@@ -55,4 +55,6 @@ rocm_install(EXPORT ck_hostTargets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/composable_kernel)
rocm_install(DIRECTORY include/ck DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
add_subdirectory(test)
if(BUILD_TESTING)
add_subdirectory(test)
endif()