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.
This commit is contained in:
John Biddiscombe
2016-05-25 09:13:28 +02:00
parent bd06b246cc
commit 053044ae4d
16 changed files with 41 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
include_directories(${CMAKE_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR})
set(LAPACK_SOURCES