Hi,

when building openvas from svn i get following error when running cmake:
cd openvas-libraries/ && cmake -DBUILD_WITH_LDAP=ON . && make && sudo make install
-- Configuring the Libraries...
-- Install prefix: /usr/local
[]
-- Configuring done
CMake Error at nasl/CMakeLists.txt:116 (add_executable):
  Target "openvas-nasl" links to item "-lgpgme -lgpg-error " which has
  leading or trailing whitespace.  This is now an error according to policy
  CMP0004.

Maybe this was introduced with svn rev 13683:
r13683 | mwiegand | 2012-07-05 13:31:09 +0200 (Do, 05. Jul 2012)
* nasl/CMakeLists.txt: Ensure that compilation with modern
  gccs works by moving linker flags from LINK_FLAGS to
  target_link_libraries.

I'm currently running ubuntu 10.04 LTS (gcc 4.4.3). I'm not really experienced with cmake so any hints are appreciated.

        Stefan

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to