Skip to content

Commit 44438fd

Browse files
committed
Fix dynamic link macro call
1 parent de409e0 commit 44438fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ target_include_directories(
2828
${CMAKE_SOURCE_DIR}/modules ${CMAKE_SOURCE_DIR}/tasks)
2929

3030
foreach(link envpp json gtest threads openmp tbb mpi stb)
31-
ppc_link_${link}(${exec_func_lib})
31+
cmake_language(CALL "ppc_link_${link}" ${exec_func_lib})
3232
endforeach()
3333

3434
add_executable(${exec_func_tests} ${FUNC_TESTS_SOURCE_FILES})

0 commit comments

Comments
 (0)