Fix cmake for benchmarks

Reviewers: mferencevic

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D875
This commit is contained in:
Mislav Bradac 2017-10-06 17:32:08 +02:00
parent 04fe004423
commit c6a13ae5f6

View File

@ -14,8 +14,7 @@ foreach(test_cpp ${test_type_cpps})
# get exec name (remove extension from the abs path)
get_filename_component(exec_name ${test_cpp} NAME_WE)
# set target name in format {PROJECT_NAME}__{test_type}__{exec_name}
set(target_name ${PROJECT_NAME}__${test_type}__${exec_name})
set(target_name memgraph__${test_type}__${exec_name})
# build exec file
add_executable(${target_name} ${test_cpp})