Skip to content

CMAKE_FIND_ROOT_PATH causes series of mystical bugs #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Write CMakeLists that uses, for example, find_path for some puprose
2. Try to compile the project with android toolchain
3. Discover that your files are searched somewhere inside NDK

What is the expected output? What do you see instead?
Files were found correctly.

I've tried to use the toolchain to compile qt project. find_package (Qt4) just 
works fine usually when I give it path to qmake utility.
Pre-built Qt for android wasn't installed inside NDK directory for some reasons 
by Necessitas installer and I've tried to set QT_QMAKE_EXECUTABLE and 
cross-compile the project in usual way, but CMAKE_FIND_ROOT_PATH makes FindQt4 
module act in mystical way without any warnings.

The solution is to add "/" to the variable.


Original issue reported on code.google.com by VShapra...@flightpath3d.com on 26 Mar 2012 at 1:46

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions