From 87fd1fa7b65e3a09adac4d7d579c2f5d2c195699 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Thu, 9 Mar 2023 18:39:48 +0100 Subject: [PATCH] Fix missing Python link libraries, more of them. --- anabatic/src/CMakeLists.txt | 2 ++ crlcore/src/pyCRL/CMakeLists.txt | 2 ++ etesian/src/CMakeLists.txt | 2 ++ flute/src/3.1/CMakeLists.txt | 2 ++ hurricane/src/isobar/CMakeLists.txt | 2 ++ katana/src/CMakeLists.txt | 2 ++ 6 files changed, 12 insertions(+) diff --git a/anabatic/src/CMakeLists.txt b/anabatic/src/CMakeLists.txt index a25523e3..bd98aa1f 100644 --- a/anabatic/src/CMakeLists.txt +++ b/anabatic/src/CMakeLists.txt @@ -14,6 +14,7 @@ endif ( CHECK_DETERMINISM ) ${QtX_INCLUDE_DIRS} ${Python_INCLUDE_DIRS} ) + find_package (Python3 COMPONENTS Interpreter Development) set( includes anabatic/Constants.h anabatic/Configuration.h anabatic/Matrix.h @@ -90,6 +91,7 @@ endif ( CHECK_DETERMINISM ) ${QtX_LIBRARIES} ${Boost_LIBRARIES} ${LIBXML2_LIBRARIES} + ${Python3_LIBRARIES} -lutil ) diff --git a/crlcore/src/pyCRL/CMakeLists.txt b/crlcore/src/pyCRL/CMakeLists.txt index bb7f1d11..5103e903 100644 --- a/crlcore/src/pyCRL/CMakeLists.txt +++ b/crlcore/src/pyCRL/CMakeLists.txt @@ -32,6 +32,7 @@ -lutil ) + find_package (Python3 COMPONENTS Interpreter Development) add_definitions( -DCORIOLIS_TOP="${CORIOLIS_TOP}" -DSYS_CONF_DIR="${SYS_CONF_DIR}" @@ -97,6 +98,7 @@ ${HURRICANE_LIBRARIES} ${LEFDEF_LIBRARIES} ${QtX_LIBRARIES} + ${Python3_LIBRARIES} -lutil ) diff --git a/etesian/src/CMakeLists.txt b/etesian/src/CMakeLists.txt index 2ec6e495..149e64c0 100644 --- a/etesian/src/CMakeLists.txt +++ b/etesian/src/CMakeLists.txt @@ -10,6 +10,7 @@ ${Boost_INCLUDE_DIRS} ${Python_INCLUDE_DIRS} ) + find_package (Python3 COMPONENTS Interpreter Development) set( includes etesian/Configuration.h etesian/Placement.h etesian/FeedCells.h @@ -58,6 +59,7 @@ ${QtX_LIBRARIES} ${Boost_LIBRARIES} ${LIBXML2_LIBRARIES} + ${Python3_LIBRARIES} -lutil ${LIBEXECINFO_LIBRARIES} ) diff --git a/flute/src/3.1/CMakeLists.txt b/flute/src/3.1/CMakeLists.txt index 06088e54..d9ca1cfb 100644 --- a/flute/src/3.1/CMakeLists.txt +++ b/flute/src/3.1/CMakeLists.txt @@ -6,6 +6,7 @@ ${CONFIGURATION_INCLUDE_DIR} ${Python_INCLUDE_DIRS} ) + find_package (Python3 COMPONENTS Interpreter Development) set( includes flute.h dl.h @@ -33,6 +34,7 @@ ${HURRICANE_PYTHON_LIBRARIES} ${HURRICANE_LIBRARIES} ${UTILITIES_LIBRARY} + ${Python3_LIBRARIES} -lutil ) diff --git a/hurricane/src/isobar/CMakeLists.txt b/hurricane/src/isobar/CMakeLists.txt index 109e0f6b..951f3701 100644 --- a/hurricane/src/isobar/CMakeLists.txt +++ b/hurricane/src/isobar/CMakeLists.txt @@ -8,6 +8,7 @@ ${Boost_INCLUDE_DIRS} ${Python_INCLUDE_DIRS} ) + find_package (Python3 COMPONENTS Interpreter Development) set( pyCpps ProxyProperty.cpp PythonAttributes.cpp PyBreakpoint.cpp @@ -167,6 +168,7 @@ ) set( depLibs hurricane + ${Python3_LIBRARIES} ${Boost_LIBRARIES} ) diff --git a/katana/src/CMakeLists.txt b/katana/src/CMakeLists.txt index 79cd62c6..88ab418a 100644 --- a/katana/src/CMakeLists.txt +++ b/katana/src/CMakeLists.txt @@ -12,6 +12,7 @@ ${Boost_INCLUDE_DIRS} ${Python_INCLUDE_DIRS} ) + find_package (Python3 COMPONENTS Interpreter Development) set( includes katana/Constants.h katana/Block.h katana/TrackCost.h @@ -109,6 +110,7 @@ ${QtX_LIBRARIES} ${Boost_LIBRARIES} ${LIBXML2_LIBRARIES} + ${Python3_LIBRARIES} -lutil ${LIBEXECINFO_LIBRARIES} )