diff --git a/CMakeLists.txt b/CMakeLists.txt index 36fb051..b3f15d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,18 +80,11 @@ find_package(Tampi) set_property(GLOBAL PROPERTY bench6_list "") macro(mk_bench NAME) - if(NOT "${NAME}" MATCHES "b6_.*") - message(FATAL_ERROR "benchmark name must begin with b6_: ${NAME}") - endif() add_executable(${NAME}) - get_property(BENCH6_LIST GLOBAL PROPERTY bench6_list) - #message(STATUS "Before BENCH6_LIST=${BENCH6_LIST}") list(APPEND BENCH6_LIST ${NAME}) - #message(STATUS "After BENCH6_LIST=${BENCH6_LIST}") set_property(GLOBAL PROPERTY bench6_list "${BENCH6_LIST}") - - install(TARGETS ${NAME} RUNTIME DESTINATION bin) + install(TARGETS ${NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}") endmacro() add_subdirectory(src)