diff options
author | John Biddiscombe <biddisco@cscs.ch> | 2016-05-25 09:13:28 +0200 |
---|---|---|
committer | John Biddiscombe <biddisco@cscs.ch> | 2016-05-25 09:13:28 +0200 |
commit | 053044ae4dcb3b6c84f6ff049f19de9160b63465 (patch) | |
tree | 98abed356d5642d7e95761eb52f792a1345f5cc2 /lapack | |
parent | bd06b246cc65cf73498e1c2ecdbf76f21b0cdc2c (diff) | |
download | openblas-053044ae4dcb3b6c84f6ff049f19de9160b63465.tar.gz openblas-053044ae4dcb3b6c84f6ff049f19de9160b63465.tar.bz2 openblas-053044ae4dcb3b6c84f6ff049f19de9160b63465.zip |
Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR
If OpenBLAS is built using add_subdirectory(OpenBlas) as part of another project
then the paths set by CMAKE_XXX_DIR are relative to the parent project
and not the OpenBLAS project.
Diffstat (limited to 'lapack')
-rw-r--r-- | lapack/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lapack/CMakeLists.txt b/lapack/CMakeLists.txt index de42e1ab6..afd583c11 100644 --- a/lapack/CMakeLists.txt +++ b/lapack/CMakeLists.txt @@ -1,5 +1,5 @@ -include_directories(${CMAKE_SOURCE_DIR}) +include_directories(${PROJECT_SOURCE_DIR}) set(LAPACK_SOURCES |