How to build with stratagus in another directory

Asked by ufa on 2011-12-26

Hello,
I have compiled Stratagus and now I want to build wargus.
But my stratagus is in an odd directory, so wargus build cannot locate it :

CMake Error at cmake/modules/FindStratagus.cmake:24 (message):
  Could not find stratagus
Call Stack (most recent call first):
  CMakeLists.txt:103 (find_package)

-- Configuring incomplete, errors occurred!

How can I point cmake to the stratagus binary?

Question information

Language:
English Edit question
Status:
Solved
For:
Wargus Edit question
Assignee:
Pali Edit question
Solved by:
ufa
Solved:
2011-12-26
Last query:
2011-12-26
Last reply:
2011-12-26
Pali (pali) said : #1

You should install Stratagus into system. In Stratagus build directory run 'make install' and then build Wargus.

ufa (ufa-ogros) said : #2

Well, I did cmake -i so I cound specify to cmake where the stratagus were. Now it is built.
Thanks for the excellent work :)