CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${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
t_Add(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 Jul
;s not,
please suggest 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/CM
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 :
Just remove these values from cache. If you always want to search in custom
location, look at find_package's options to avoid searching
d I handle
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 Messagi