diff --git a/cmake/FindSeastar.cmake b/cmake/FindSeastar.cmake index aaf1067dfa..b47fefb232 100644 --- a/cmake/FindSeastar.cmake +++ b/cmake/FindSeastar.cmake @@ -110,6 +110,6 @@ if(NOT TARGET Seastar::iotune) string (TOUPPER ${config} CONFIG) set_property(TARGET Seastar::iotune PROPERTY - IMPORTED_LOCATION_${CONFIG} ${CMAKE_BINARY_DIR}/$/seastar/apps/iotune/iotune) + IMPORTED_LOCATION_${CONFIG} ${CMAKE_BINARY_DIR}/${config}/seastar/apps/iotune/iotune) endforeach() endif() diff --git a/dist/CMakeLists.txt b/dist/CMakeLists.txt index 96cb463b2c..b554d96d4a 100644 --- a/dist/CMakeLists.txt +++ b/dist/CMakeLists.txt @@ -46,7 +46,7 @@ add_stripped("${CMAKE_BINARY_DIR}/$/scylla") # app_iotune is located in seastar/apps/iotune if(TARGET Seastar::iotune) - set(iotune_src "$") + set(iotune_src "$") else() set(iotune_src "$") endif()