How to build with stratagus in another directory

Asked by ufa

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:
Last query:
Last reply:
Revision history for this message
Pali (pali) said :
#1

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

Revision history for this message
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 :)