Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2024
1 parent e160cf6 commit e75b5a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,8 @@ install(
NAMESPACE neuron::
DESTINATION lib/cmake/neuron)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/neuronConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/neuronConfig.cmake @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/neuronConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/neuronConfig.cmake @ONLY)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/neuronConfig.cmake DESTINATION lib/cmake/neuron)

Expand Down
4 changes: 3 additions & 1 deletion src/coreneuron/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,9 @@ endif()
# https://forums.developer.nvidia.com/t/cannot-dynamically-load-a-shared-library-containing-both-openacc-and-cuda-code/210972
add_library(coreneuron-core STATIC ${CORENEURON_CODE_FILES} ${CORENRN_MPI_OBJ})
set_target_properties(coreneuron-core PROPERTIES EXPORT_NAME corenrn)
set(CORENRN_INSTALL_TARGETS coreneuron-core PARENT_SCOPE)
set(CORENRN_INSTALL_TARGETS
coreneuron-core
PARENT_SCOPE)
if(CORENRN_ENABLE_GPU)
set(coreneuron_cuda_target coreneuron-cuda)
add_library(coreneuron-cuda ${COMPILE_LIBRARY_TYPE} ${CORENEURON_CUDA_FILES})
Expand Down

0 comments on commit e75b5a0

Please sign in to comment.