|
| 1 | +# For more information, please see: http://software.sci.utah.edu |
| 2 | +# |
| 3 | +# The MIT License |
| 4 | +# |
| 5 | +# Copyright (c) 2015 Scientific Computing and Imaging Institute, |
| 6 | +# University of Utah. |
| 7 | +# |
| 8 | +# |
| 9 | +# Permission is hereby granted, free of charge, to any person obtaining a |
| 10 | +# copy of this software and associated documentation files (the "Software"), |
| 11 | +# to deal in the Software without restriction, including without limitation |
| 12 | +# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 13 | +# and/or sell copies of the Software, and to permit persons to whom the |
| 14 | +# Software is furnished to do so, subject to the following conditions: |
| 15 | +# |
| 16 | +# The above copyright notice and this permission notice shall be included |
| 17 | +# in all copies or substantial portions of the Software. |
| 18 | +# |
| 19 | +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 20 | +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 | +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 22 | +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 23 | +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 24 | +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 25 | +# DEALINGS IN THE SOFTWARE. |
| 26 | + |
| 27 | +SET_PROPERTY(DIRECTORY PROPERTY "EP_BASE" ${ep_base}) |
| 28 | + |
| 29 | +SET(data_SVN_URL "https://gforge.sci.utah.edu/svn/CIBCData") |
| 30 | +SET(sci_data_DIR "${CMAKE_BINARY_DIR}/SCIRunData") |
| 31 | + |
| 32 | +ExternalProject_Add(SCI_data_external |
| 33 | + SVN_REPOSITORY "${data_SVN_URL}" |
| 34 | + SVN_TRUST_CERT 1 |
| 35 | + SVN_USERNAME "anonymous" |
| 36 | + SVN_PASSWORD "" |
| 37 | + DOWNLOAD_DIR "${sci_data_DIR}" |
| 38 | + PATCH_COMMAND "" |
| 39 | + INSTALL_DIR "" |
| 40 | + INSTALL_COMMAND "" |
| 41 | + CONFIGURE_COMMAND "" |
| 42 | + CMAKE_COMMAND "" |
| 43 | + BUILD_COMMAND "" |
| 44 | +) |
| 45 | + |
| 46 | +ExternalProject_Get_Property(SCI_data_external BINARY_DIR) |
| 47 | +SET(SCI_DATA_DIR ${sci_data_DIR} CACHE PATH "") |
0 commit comments