Re: [CMake] How to install external project

2012-07-16 Thread Martin Vymazal
=${CMAKE_BINARY_DIR}/install ) add_executable(test blas_test.cpp) target_link_libraries(test ${CMAKE_BINARY_DIR}/install/blas_LINUX.a) Martin Vymazal On Sunday 15 of July 2012 10:20:28 joewan wrote: hi, I think you should modify the target file name blas_LINUX.a,changing it to your real target

Re: [CMake] How to install external project

2012-07-14 Thread Martin Vymazal
(Blas SOURCE_DIR ${CMAKE_SOURCE_DIR}/contrib/blas BUILD_IN_SOURCE 1 CONFIGURE_COMMAND BUILD_COMMAND make INSTALL_DIR ${CMAKE_BINARY_DIR}/install CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/install ) Best regards, Martin Vymazal On Friday 13 of July 2012 21:01:43

[CMake] How to install external project

2012-07-13 Thread Martin Vymazal
a better one. Thank you. Best regards, Martin Vymazal -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link

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
a situation where a user has possibly multiple mpi installations? Thank you very much. Best regards, Martin Vymazal This message was sent using IMP, the Internet Messaging Program