From 361a23c533754e579a0239abf13f2fb7b0d641ec Mon Sep 17 00:00:00 2001 From: jhumeau Date: Fri, 15 Jan 2010 13:03:32 +0000 Subject: [PATCH] add variable to set the paradiseo directory git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1641 331e1502-861f-0410-8da2-ba01fb791d7f --- branches/newMo/install.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/branches/newMo/install.cmake b/branches/newMo/install.cmake index ce33a445b..759e3ab95 100644 --- a/branches/newMo/install.cmake +++ b/branches/newMo/install.cmake @@ -2,8 +2,13 @@ # 1) ParadisEO install: SIMPLE Configuration ######################################################################################################### +IF(NOT DEFINED paradis OR NOT paradis) + MESSAGE(FATAL_ERROR "The \"paradis\" variable must be set on the command line to + give the path of the install configuration file. ") +ENDIF(NOT DEFINED config OR NOT config) + # Here, just specify PARADISEO_DIR : the directory where ParadisEO has been installed -SET(PARADISEO_DIR "/home/humeau/paradiseo-1.2.1" CACHE PATH "ParadisEO directory" FORCE) +SET(PARADISEO_DIR "${paradis}" CACHE PATH "ParadisEO directory" FORCE) #########################################################################################################