Fix missing Python link libraries, more of them.

This commit is contained in:
Jean-Paul Chaput 2023-03-09 18:39:48 +01:00
parent 7a644c65fb
commit 87fd1fa7b6
6 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@ endif ( CHECK_DETERMINISM )
${QtX_INCLUDE_DIRS} ${QtX_INCLUDE_DIRS}
${Python_INCLUDE_DIRS} ${Python_INCLUDE_DIRS}
) )
find_package (Python3 COMPONENTS Interpreter Development)
set( includes anabatic/Constants.h set( includes anabatic/Constants.h
anabatic/Configuration.h anabatic/Configuration.h
anabatic/Matrix.h anabatic/Matrix.h
@ -90,6 +91,7 @@ endif ( CHECK_DETERMINISM )
${QtX_LIBRARIES} ${QtX_LIBRARIES}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${Python3_LIBRARIES}
-lutil -lutil
) )

View File

@ -32,6 +32,7 @@
-lutil -lutil
) )
find_package (Python3 COMPONENTS Interpreter Development)
add_definitions( -DCORIOLIS_TOP="${CORIOLIS_TOP}" add_definitions( -DCORIOLIS_TOP="${CORIOLIS_TOP}"
-DSYS_CONF_DIR="${SYS_CONF_DIR}" -DSYS_CONF_DIR="${SYS_CONF_DIR}"
@ -97,6 +98,7 @@
${HURRICANE_LIBRARIES} ${HURRICANE_LIBRARIES}
${LEFDEF_LIBRARIES} ${LEFDEF_LIBRARIES}
${QtX_LIBRARIES} ${QtX_LIBRARIES}
${Python3_LIBRARIES}
-lutil -lutil
) )

View File

@ -10,6 +10,7 @@
${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
${Python_INCLUDE_DIRS} ${Python_INCLUDE_DIRS}
) )
find_package (Python3 COMPONENTS Interpreter Development)
set( includes etesian/Configuration.h set( includes etesian/Configuration.h
etesian/Placement.h etesian/Placement.h
etesian/FeedCells.h etesian/FeedCells.h
@ -58,6 +59,7 @@
${QtX_LIBRARIES} ${QtX_LIBRARIES}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${Python3_LIBRARIES}
-lutil -lutil
${LIBEXECINFO_LIBRARIES} ${LIBEXECINFO_LIBRARIES}
) )

View File

@ -6,6 +6,7 @@
${CONFIGURATION_INCLUDE_DIR} ${CONFIGURATION_INCLUDE_DIR}
${Python_INCLUDE_DIRS} ${Python_INCLUDE_DIRS}
) )
find_package (Python3 COMPONENTS Interpreter Development)
set( includes flute.h set( includes flute.h
dl.h dl.h
@ -33,6 +34,7 @@
${HURRICANE_PYTHON_LIBRARIES} ${HURRICANE_PYTHON_LIBRARIES}
${HURRICANE_LIBRARIES} ${HURRICANE_LIBRARIES}
${UTILITIES_LIBRARY} ${UTILITIES_LIBRARY}
${Python3_LIBRARIES}
-lutil -lutil
) )

View File

@ -8,6 +8,7 @@
${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
${Python_INCLUDE_DIRS} ${Python_INCLUDE_DIRS}
) )
find_package (Python3 COMPONENTS Interpreter Development)
set( pyCpps ProxyProperty.cpp set( pyCpps ProxyProperty.cpp
PythonAttributes.cpp PythonAttributes.cpp
PyBreakpoint.cpp PyBreakpoint.cpp
@ -167,6 +168,7 @@
) )
set( depLibs hurricane set( depLibs hurricane
${Python3_LIBRARIES}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
) )

View File

@ -12,6 +12,7 @@
${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
${Python_INCLUDE_DIRS} ${Python_INCLUDE_DIRS}
) )
find_package (Python3 COMPONENTS Interpreter Development)
set( includes katana/Constants.h set( includes katana/Constants.h
katana/Block.h katana/Block.h
katana/TrackCost.h katana/TrackCost.h
@ -109,6 +110,7 @@
${QtX_LIBRARIES} ${QtX_LIBRARIES}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${LIBXML2_LIBRARIES} ${LIBXML2_LIBRARIES}
${Python3_LIBRARIES}
-lutil -lutil
${LIBEXECINFO_LIBRARIES} ${LIBEXECINFO_LIBRARIES}
) )