Skip to content

Commit

Permalink
shorten target name
Browse files Browse the repository at this point in the history
helps on windows systems where the default max path length is still set to 260
  • Loading branch information
balos1 committed Jan 16, 2025
1 parent c2b2005 commit 2683df5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/macros/SundialsAddLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ macro(sundials_add_library target)
list(REMOVE_ITEM _stripped_all_libs ${_item})
endif()
endforeach()
add_custom_target(fake_to_force_build_order_${obj_target})
add_dependencies(fake_to_force_build_order_${obj_target}
add_custom_target(fake_${obj_target})
add_dependencies(fake_${obj_target}
${_stripped_all_libs})
add_dependencies(${obj_target} fake_to_force_build_order_${obj_target})
add_dependencies(${obj_target} fake_${obj_target})
target_link_libraries(${obj_target} ${_all_libs})
endif()

Expand Down

0 comments on commit 2683df5

Please sign in to comment.