gplugin/gplugin

919c883b3568
Parents c56e242af5ac
Children 63b40806b9c8
link_directories needs to be set before the target you want to use it with
--- a/python/CMakeLists.txt Sun Aug 21 20:39:14 2016 -0500
+++ b/python/CMakeLists.txt Sun Aug 21 21:41:32 2016 -0500
@@ -32,6 +32,8 @@
${PYGOBJECT_INCLUDE_DIRS}
)
+ link_directories(${PYTHON3_LIBRARY_DIRS})
+
message(STATUS "checking if pygobject works with python3")
set(GPLUGIN_PYTHON_TEST_PYGOBJECT_INCLUDES)
@@ -95,8 +97,6 @@
gplugin
)
- link_directories(${PYTHON3_LIBRARY_DIRS})
-
target_link_libraries(gplugin-python-static
${PYTHON3_LIBRARIES}
${PYGOBJECT_LIBRARIES}