From 4222306aa1f673af8ceae20b5939678d390d0b36 Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Thu, 6 Mar 2008 17:13:34 +0000 Subject: [PATCH] compilation on OSX --- hurricane/src/hurricane/Cell.cpp | 2 +- hurricane/src/hurricane/Net.cpp | 2 +- hurricane/src/pyext/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hurricane/src/hurricane/Cell.cpp b/hurricane/src/hurricane/Cell.cpp index 23e38d4b..1056fce4 100644 --- a/hurricane/src/hurricane/Cell.cpp +++ b/hurricane/src/hurricane/Cell.cpp @@ -52,7 +52,7 @@ Cell::Cell(Library* library, const Name& name) throw Error("Can't create " + _TName("Cell") + " : empty name"); if (_library->GetCell(_name)) - throw Error("Can't create " + _TName("Cell") + " : already exists"); + throw Error("Can't create " + _TName("Cell") + " " + GetString(_name) + " : already exists"); } Cell* Cell::Create(Library* library, const Name& name) diff --git a/hurricane/src/hurricane/Net.cpp b/hurricane/src/hurricane/Net.cpp index 7ade15b5..d142c379 100644 --- a/hurricane/src/hurricane/Net.cpp +++ b/hurricane/src/hurricane/Net.cpp @@ -258,7 +258,7 @@ Net::Net(Cell* cell, const Name& name) throw Error("Can't create " + _TName("Net") + " : empty name"); if (_cell->GetNet(_name)) - throw Error("Can't create " + _TName("Net") + " : already exists"); + throw Error("Can't create " + _TName("Net ") + GetString(_name) + " : already exists"); } Net* Net::Create(Cell* cell, const Name& name) diff --git a/hurricane/src/pyext/CMakeLists.txt b/hurricane/src/pyext/CMakeLists.txt index 052a495e..dd0210e6 100644 --- a/hurricane/src/pyext/CMakeLists.txt +++ b/hurricane/src/pyext/CMakeLists.txt @@ -25,7 +25,7 @@ SET(includes ProxyProperty.h PyBox.h PyCell.h PyCellLocator.h ADD_LIBRARY(isobar SHARED ${sources}) -TARGET_LINK_LIBRARIES(isobar hurricane) +TARGET_LINK_LIBRARIES(isobar hurricane ${PYTHON_LIBRARIES}) SET(source_dir ${HURRICANE_SOURCE_DIR}/src/pyext) SET(binary_dir ${HURRICANE_BINARY_DIR}/src/pyext)