Commit 0dcbaffb authored by Astha Rai's avatar Astha Rai
Browse files

updating CMake

(cherry picked from commit a685822e)
parent a36ebd43
...@@ -569,7 +569,9 @@ if(NOT DEFINED INSTANCES_ONLY) ...@@ -569,7 +569,9 @@ if(NOT DEFINED INSTANCES_ONLY)
PACKAGE_NAME examples PACKAGE_NAME examples
) )
add_subdirectory(example) add_subdirectory(example)
add_subdirectory(test) if(BUILD_TESTING)
add_subdirectory(test)
endif()
rocm_package_setup_component(profiler rocm_package_setup_component(profiler
LIBRARY_NAME composablekernel LIBRARY_NAME composablekernel
......
...@@ -55,4 +55,6 @@ rocm_install(EXPORT ck_hostTargets ...@@ -55,4 +55,6 @@ rocm_install(EXPORT ck_hostTargets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/composable_kernel) DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/composable_kernel)
rocm_install(DIRECTORY include/ck DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) rocm_install(DIRECTORY include/ck DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
add_subdirectory(test) if(BUILD_TESTING)
add_subdirectory(test)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment