From 746fbf09c19005e0ef55974dc344d4ee78052b63 Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Thu, 27 Dec 2007 12:38:19 +0000 Subject: [PATCH] compilation on OSX --- hurricane/src/analogic/CMakeLists.txt | 2 ++ hurricane/src/figures/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/hurricane/src/analogic/CMakeLists.txt b/hurricane/src/analogic/CMakeLists.txt index 898b2341..a56e2797 100644 --- a/hurricane/src/analogic/CMakeLists.txt +++ b/hurricane/src/analogic/CMakeLists.txt @@ -41,5 +41,7 @@ RdsUnit.cpp Transistor.cpp TwoSpaces.cpp) +target_link_libraries(analogic hurricane) + install(FILES ${includes} DESTINATION /include/hurricane) install(TARGETS analogic DESTINATION /lib) diff --git a/hurricane/src/figures/CMakeLists.txt b/hurricane/src/figures/CMakeLists.txt index b01d14e3..55b39058 100644 --- a/hurricane/src/figures/CMakeLists.txt +++ b/hurricane/src/figures/CMakeLists.txt @@ -6,6 +6,7 @@ set(includes CellFigure.h InstanceFigure.h SliceFigure.h GoFigure.h SegmentFigur set(cpps CellFigure.cpp InstanceFigure.cpp SliceFigure.cpp GoFigure.cpp SegmentFigure.cpp) add_library(hurricanefigs SHARED ${cpps}) +target_link_libraries(hurricanefigs ${QT_LIBRARIES} hurricane) install(FILES ${includes} DESTINATION /include/hurricane) install(TARGETS hurricanefigs DESTINATION /lib)