[Rock-dev] Old style vs. new-style way to find Rock CMake macros

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Aug 9 09:44:52 CEST 2013


The old-style way was using include() with an environment variable. This
has been deprecated for ~8 months now, and is now unavailable when using
master.

If your package fails to build in the configure phase with a message
saying that /Rock.cmake could not be found (or something like that),
just replace the include(...) line with

  find_package(Rock)

If you are using RockRuby or some other CMake modules shipped with Rock,
you have to do
  find_package(Rock)

before you do
  include(RockRuby)

-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space & Security Robotics
Underwater Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
----------------------------------------------------------------------- 



More information about the Rock-dev mailing list