|
From: <ai...@us...> - 2014-05-15 01:57:13
|
Revision: 13120
http://sourceforge.net/p/plplot/code/13120
Author: airwin
Date: 2014-05-15 01:57:06 +0000 (Thu, 15 May 2014)
Log Message:
-----------
Implement additional diagnostic output when pkg-config processing is
failing in some way.
Modified Paths:
--------------
trunk/cmake/modules/cairo.cmake
trunk/cmake/modules/pkg-config.cmake
Modified: trunk/cmake/modules/cairo.cmake
===================================================================
--- trunk/cmake/modules/cairo.cmake 2014-05-14 11:12:17 UTC (rev 13119)
+++ trunk/cmake/modules/cairo.cmake 2014-05-15 01:57:06 UTC (rev 13120)
@@ -145,7 +145,7 @@
list(APPEND DRIVERS_LINK_FLAGS ${cairo_LINK_FLAGS})
else(linkflags)
message("includedir = ${includedir}")
- message("libdir = ${libdir}")
+ message("linkdir = ${linkdir}")
message("linkflags = ${linkflags}")
message("cflags = ${cflags}")
message(STATUS
Modified: trunk/cmake/modules/pkg-config.cmake
===================================================================
--- trunk/cmake/modules/pkg-config.cmake 2014-05-14 11:12:17 UTC (rev 13119)
+++ trunk/cmake/modules/pkg-config.cmake 2014-05-15 01:57:06 UTC (rev 13120)
@@ -292,8 +292,10 @@
# If one or more of the libraries cannot be found, then return an
# empty ${_link_flags_out} as a sign of that failure.
if(NOT _success)
+ message(STATUS "cmake_link_flags WARNING: (original link flags) = ${_link_flags_in}")
+ message(STATUS "cmake_link_flags WARNING: ${_link_flags_out} = ${${_link_flags_out}}")
+ message(STATUS "cmake_link_flags WARNING: ${_link_flags_out} is invalid so it is set to nothing to signal the failure of cmake_link_flags for the original link flags printed out above.")
set(${_link_flags_out})
endif(NOT _success)
endif("${_link_flags_in}" STREQUAL "")
endmacro(cmake_link_flags)
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|