Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 1a5bb69

Browse files
authored
Fix reportinglib link error when shared library is used (#118)
1 parent 6efb972 commit 1a5bb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coreneuron/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ if(ENABLE_OPENACC AND ENABLE_CUDA_MODULES)
283283
endif()
284284

285285
if(ENABLE_REPORTINGLIB)
286-
set(link_reportinglib ${REPORTINGLIB_LIBRARIES})
286+
set(link_reportinglib ${reportinglib_LIBRARY})
287287
endif()
288288
target_link_libraries(coreneuron ${MPI_CXX_LIBRARIES}
289289
${link_reportinglib} ${link_cudacoreneuron} ${CUDA_LIBRARIES} )

0 commit comments

Comments
 (0)