<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
After upgrading to 5.2 my plugin is not compiling. When I configure
the plugin I see a few pages of the following:<br>
<blockquote>CMake Warning (dev) at io/CMakeLists.txt:54
(add_library):<br>
Policy CMP0028 is not set: Double colon in target name means
ALIAS or<br>
IMPORTED target. Run "cmake --help-policy CMP0028" for policy
details.<br>
Use the cmake_policy command to set the policy and suppress this
warning.<br>
<br>
Target "teca_io" links to target "Qt4::QtCore" but the target
was not<br>
found. Perhaps a find_package() call is missing for an IMPORTED
target, or<br>
an ALIAS target is missing?<br>
This warning is for project developers. Use -Wno-dev to suppress
it.<br>
</blockquote>
then linker errors<br>
<blockquote>[ 32%] Linking CXX shared library ../lib/libteca_io.so<br>
/bin/ld: cannot find -lQt4::QtCore<br>
/bin/ld: cannot find -lQt4::QtGui<br>
collect2: error: ld returned 1 exit status<br>
io/CMakeFiles/teca_io.dir/build.make:402: recipe for target
'lib/libteca_io.so' failed<br>
make[2]: *** [lib/libteca_io.so] Error 1<br>
CMakeFiles/Makefile2:196: recipe for target
'io/CMakeFiles/teca_io.dir/all' failed<br>
make[1]: *** [io/CMakeFiles/teca_io.dir/all] Error 2<br>
Makefile:127: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
</blockquote>
It's not a library so I set the policy to new, and the cmake
configure errors out. Any idea what's missing?<br>
<br>
</body>
</html>