⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

fix build issue when include clBLAS as a cmake subproject#332

Open
yang-le wants to merge 3 commits intoclMathLibraries:developfrom
yang-le:master
Open

fix build issue when include clBLAS as a cmake subproject#332
yang-le wants to merge 3 commits intoclMathLibraries:developfrom
yang-le:master

Conversation

@yang-le
Copy link

@yang-le yang-le commented Feb 27, 2018

When include clBLAS as a cmake subproject using add_subdectory(), it seems that some paths are wrong.
To fix it, I just replace ${CMAKE_SOURCE_DIR}/library with ${CMAKE_CURRENT_SOURCE_DIR} and it works.

@tingxingdong
Copy link
Contributor

change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR is good and recommended. Why change build *.so to OFF? Please modify this OFF.

revert prev change
@yang-le
Copy link
Author

yang-le commented Mar 16, 2018

OK, previous change reverted from CMakeLists.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants