Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix perftests CMake target being empty: https://github.com/GridTools/gridtools/issues/1551 #1724

Merged
merged 7 commits into from
Aug 16, 2022
Merged
6 changes: 6 additions & 0 deletions tests/regression/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
add_executable(perftests)

file(WRITE
"${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp"
"// This file is needed in some cases because CMake targets must have at least one .cpp source."
)
target_sources(perftests PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp")

target_link_libraries(perftests regression_main)

if(TARGET threadpool_hpx)
Expand Down