Re: [CMake] Choosing MPI installation

2011-04-18 Thread Yuri Timenkov
Just remove these values from cache. If you always want to search in custom location, look at find_package's options to avoid searching in default locations On Apr 11, 2011 6:03 PM, Martin Vymazal martin.vyma...@vki.ac.be wrote: Hello, I'm a beginner and I apologize in case I'm asking a

Re: [CMake] Choosing MPI installation

2011-04-18 Thread Martin Vymazal
Hello Yuri, thanks for the hint. I'll test as soon as I get back to my work computer. Thank you. Martin Vymazal Quoting Yuri Timenkov y...@timenkov.ru: Just remove these values from cache. If you always want to search in custom location, look at find_package's options to avoid

[CMake] Choosing MPI installation

2011-04-11 Thread Martin Vymazal
Hello, I'm a beginner and I apologize in case I'm asking a question that has already been answered. I would like to find mpi in my CMakeLists.txt and enable the user to set the mpi inlude and lib directories by setting say variables MY_MPI_INCLUDE_DIR and MY_MPI_LIB_DIR in cmake gui.