-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: 'cpu-features.h' file not found #106
Comments
there is no note: You should use |
For customers using add_subdirectory() approach related to #106
@Mizux Thanks for the quick reply. Could you please help me in case I want to use |
in this cas e you should have something like this I guess (not tested): ...
add_subdirectory(cpu_features/ndk_compat)
add_library(
myLib
SHARED
app/src/main/cpp/test.cpp
)
target_link_libraries(myLib ndk_compat) |
@Mizux Unfortunately it doesn't work |
For customers using add_subdirectory() approach related to #106
@leshchenkoEk can you confirm that it works now? |
Should be fixed by my patch see the comment in the PR... |
I downloaded lib and copied it to my project directory. My CMakeLists.txt :
My test.cpp file:
I have
10: fatal error: 'cpu-features.h' file not found
error.Please tell me what I'm doing wrong.
Thanks.
The text was updated successfully, but these errors were encountered: