mirror of https://github.com/CGAL/cgal
add missing export
This commit is contained in:
parent
6e06ef17c6
commit
fab5d071d8
|
|
@ -49,6 +49,7 @@ if (NOT CGAL_DATA_DIR)
|
|||
if (EXISTS "${CMAKE_SOURCE_DIR}/Data/data")
|
||||
set(CGAL_DATA_DIR "${CMAKE_SOURCE_DIR}/Data/data")
|
||||
else()
|
||||
message("CMAKE_SOURCE_DIR = ${CMAKE_SOURCE_DIR}")
|
||||
message(FATAL_ERROR "CGAL_DATA_DIR cannot be deduced, please set the variable CGAL_DATA_DIR")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -100,10 +100,10 @@ compile_and_run()
|
|||
|
||||
if [ -z "\${CGAL_DATA_DIR}" ]; then
|
||||
if [ -d ../../data ]; then
|
||||
CGAL_DATA_DIR=../../data
|
||||
export CGAL_DATA_DIR=../../data
|
||||
else
|
||||
if [ -d ../../../Data/data ]; then
|
||||
CGAL_DATA_DIR=../../../Data/data
|
||||
export CGAL_DATA_DIR=../../../Data/data
|
||||
else
|
||||
echo "ERROR: Cannot run test script, please set the variable CGAL_DATA_DIR"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue