2020-08-07 13:14:40 +08:00
|
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2020-08-13 00:35:03 +08:00
|
|
|
index 7f364a7..9e0baac 100644
|
2020-08-07 13:14:40 +08:00
|
|
|
--- a/src/CMakeLists.txt
|
|
|
|
+++ b/src/CMakeLists.txt
|
|
|
|
@@ -213,6 +213,9 @@ endif()
|
|
|
|
find_package(PythonLibs QUIET)
|
|
|
|
if(BUILD_PANGOLIN_GUI AND BUILD_PANGOLIN_VARS AND PYTHONLIBS_FOUND AND NOT _WIN_)
|
|
|
|
set(HAVE_PYTHON 1)
|
|
|
|
+ if (UNIX)
|
2020-08-13 00:35:03 +08:00
|
|
|
+ set(PYTHON_LIBRARY ${PYTHON_LIBRARY} dl util)
|
2020-08-07 13:14:40 +08:00
|
|
|
+ endif()
|
|
|
|
list(APPEND HEADERS
|
|
|
|
${INCDIR}/console/ConsoleInterpreter.h
|
|
|
|
${INCDIR}/console/ConsoleView.h
|