Commit 12123c4f authored by prototype's avatar prototype
Browse files

AGAPROConfig was not correctly protected over the project

git-svn-id: svn://gal-serv.lnl.infn.it/agata/trunk/narval_emulator@1124 170316e4-aea8-4b27-aad4-0380ec0519c9
parent 18b997d5
......@@ -12,7 +12,7 @@
*/
///////////////// AUTOMATIC configuration through cmake. For a certain period, manual configuration is kept
#if HAS_AGAPROCONFIG
#ifdef HAS_AGAPROCONFIG
#include "AGAPROConfig.h" // defines for your system is set there by cmake
#else
//////////////////////////////
......
......@@ -8,7 +8,7 @@ MESSAGE("[AGAPRO] + ${PROJECT_NAME}")
#
# internal and external dependencies
#
set( EXTRA_INTERNAL_LIBRARIES AgaProCommon)
#set( EXTRA_INTERNAL_LIBRARIES AgaProCommon)
set( EXTRA_EXTERNAL_LIBRARIES ${ADF_LIBRARY})
#
# headers / sources
......
......@@ -8,7 +8,7 @@ MESSAGE("[AGAPRO] + ${PROJECT_NAME}")
#
# internal and external dependencies
#
set( EXTRA_INTERNAL_LIBRARIES AgaProCommon)
#set( EXTRA_INTERNAL_LIBRARIES AgaProCommon)
set( EXTRA_EXTERNAL_LIBRARIES ${ADF_LIBRARY})
#
# headers / sources
......
......@@ -8,7 +8,7 @@
#include <cmath>
#include <limits.h>
#if HAS_AGAPROCONFIG
#ifdef HAS_AGAPROCONFIG
#include "AGAPROConfig.h" // defines for your system is set there by cmake
#endif
#include "misc.h"
......@@ -16,7 +16,7 @@
using namespace std;
using namespace ADF;
#if HAS_AGAPROCONFIG
#ifdef HAS_AGAPROCONFIG
// This is a variable accessed by narval direcly. Not used in emulators so just init to 0
#if NRV_TYPE != NRV_ONLINE
namespace {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment