Commit e315c99f authored by sxc's avatar sxc
Browse files

Adding the -L for python3 when not in system's directories

parent 29d68d2a
......@@ -81,6 +81,10 @@ set(UFOCORE_DEPS
${GIO2_LIBRARIES}
${JSON_GLIB_LIBRARIES})
set (UFOCORE_DEPS_LIBDIR
${GLIB2_LIBRARY_DIRS}
${JSON_GLIB_LIBRARY_DIRS})
if (NOT PYTHON_FOUND)
pkg_check_modules(PYTHON python3)
......@@ -95,13 +99,12 @@ if (PYTHON_FOUND)
if (WITH_PYTHON)
include_directories(${PYTHON_INCLUDE_DIRS})
list(APPEND UFOCORE_DEPS ${PYTHON_LIBRARIES})
list(APPEND UFOCORE_DEPS_LIBDIR ${PYTHON_LIBDIR})
endif ()
endif()
#{{{ Link dirs of dependencies
link_directories(
${GLIB2_LIBRARY_DIRS}
${JSON_GLIB_LIBRARY_DIRS})
link_directories(${UFOCORE_DEPS_LIBDIR})
#}}}
#{{{ Add include directories
include_directories(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment