Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 52784b4c authored by hhakim's avatar hhakim
Browse files

Remove repo. embedded Eigen library zip for Windows, download it if needed...

Remove repo. embedded Eigen library zip for Windows, download it if needed (updating by the way to 3.4.0).
parent 1233256b
No related branches found
No related tags found
No related merge requests found
...@@ -59,9 +59,11 @@ elseif(WIN32) ...@@ -59,9 +59,11 @@ elseif(WIN32)
message(STATUS "------------------------------------------------") message(STATUS "------------------------------------------------")
message(STATUS "------------------------------------------------") message(STATUS "------------------------------------------------")
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/win/eigen http://bitbucket.org/eigen/eigen/get/3.2.8.zip") set(EIGEN_LINK https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip)
set(EIGEN_LIB_NAME "eigen-eigen-07105f7124f9") string(REGEX REPLACE "https://.*/(.*).zip" "\\1" EIGEN_LIB_NAME ${EIGEN_LINK})
#exec_program("rd ${CMAKE_SOURCE_DIR}/externals/win/eigen") if(NOT EXISTS ${CMAKE_SOURCE_DIR}/externals/win/zipLibs/${EIGEN_LIB_NAME}.zip)
file(DOWNLOAD ${EIGEN_LINK} ${CMAKE_SOURCE_DIR}/externals/win/zipLibs/${EIGEN_LIB_NAME}.zip SHOW_PROGRESS)
endif()
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/externals/win/${EIGEN_LIB_NAME}) if(NOT EXISTS ${CMAKE_SOURCE_DIR}/externals/win/${EIGEN_LIB_NAME})
file(ARCHIVE_EXTRACT INPUT ${CMAKE_SOURCE_DIR}/externals/win/zipLibs/${EIGEN_LIB_NAME}.zip DESTINATION ${CMAKE_SOURCE_DIR}/externals/win) file(ARCHIVE_EXTRACT INPUT ${CMAKE_SOURCE_DIR}/externals/win/zipLibs/${EIGEN_LIB_NAME}.zip DESTINATION ${CMAKE_SOURCE_DIR}/externals/win)
endif() endif()
......
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment