Skip to content

Commit

Permalink
Remove use of anima private in cmake files.
Browse files Browse the repository at this point in the history
  • Loading branch information
astamm committed Oct 4, 2023
1 parent 612fa83 commit 2218462
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ option(USE_NLOPT "Build NLOPT dependencies" ON)
option(BUILD_ANIMA_TOOLS "Build ANIMA tools" ON)
option(BUILD_ANIMA_TESTING "Build ANIMA testing executables" OFF)
option(BUILD_ANIMA_DOCUMENTATION "Build ANIMA doxygen" OFF)
option(USE_ANIMA_PRIVATE "Use ANIMA private part, requires authorized access" OFF)

# Define default build type if needed
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
Expand Down Expand Up @@ -131,18 +130,12 @@ endif()

include(Anima)

if (USE_ANIMA_PRIVATE)
set(USE_GITHUB_SSH ON CACHE BOOL "Use by default Git SSH addresses, requires public key set on github" FORCE)
include(Anima_Private)
endif()

configure_file(${CMAKE_SOURCE_DIR}/superbuild/BinariesPackaging.cmake.in
${CMAKE_BINARY_DIR}/BinariesPackaging.cmake
@ONLY IMMEDIATE)

add_custom_target(pack-binaries
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/BinariesPackaging.cmake
DEPENDS Anima_Private
COMMENT "-- Generating binary packages"
)
29 changes: 0 additions & 29 deletions superbuild/Anima_Private.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion superbuild/Boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set (proj Boost)

set (location "")
if (NOT DEFINED ${proj}_SRC_DIR)
set(location URL http://freefr.dl.sourceforge.net/project/boost/boost/1.74.0/boost_1_74_0.tar.gz)
set(location URL https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.gz)
endif()

ExternalProject_Add(${proj}
Expand Down

0 comments on commit 2218462

Please sign in to comment.