Skip to content

Commit

Permalink
Merge pull request #1434 from ANTsX/centosBuild
Browse files Browse the repository at this point in the history
BUG: Remove hard-coded lib dir that was breaking centos builds
  • Loading branch information
cookpa committed Oct 18, 2022
2 parents 7d6fccf + 1ee1af2 commit 5dddad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ANTS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ endif()

#Only install ITK/VTK libraries if shared build and superbuild is used
if(BUILD_SHARED_LIBS AND ((NOT USE_SYSTEM_ITK) OR ((NOT USE_SYSTEM_VTK) AND USE_VTK)))
install(DIRECTORY ${CMAKE_BINARY_DIR}/../staging/lib/
install(DIRECTORY ${CMAKE_BINARY_DIR}/../staging/${CMAKE_INSTALL_LIBDIR}/
DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
2 changes: 1 addition & 1 deletion SuperBuild/External_ITKv5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ if(NOT DEFINED ${extProjName}_DIR AND NOT ${USE_SYSTEM_${extProjName}})
DEPENDS
${${proj}_DEPENDENCIES}
)
set(${extProjName}_DIR ${CMAKE_BINARY_DIR}/staging/lib/cmake/${ITK_VERSION_ID})
set(${extProjName}_DIR ${CMAKE_BINARY_DIR}/staging/${CMAKE_INSTALL_LIBDIR}/cmake/${ITK_VERSION_ID})
else()
if(${USE_SYSTEM_${extProjName}})
find_package(${extProjName} ${ITK_VERSION_MAJOR} REQUIRED)
Expand Down

0 comments on commit 5dddad5

Please sign in to comment.