Skip to content
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

BUILD_TESTS does not actually build tests #524

Open
thyssentishman opened this issue Nov 22, 2024 · 0 comments
Open

BUILD_TESTS does not actually build tests #524

thyssentishman opened this issue Nov 22, 2024 · 0 comments

Comments

@thyssentishman
Copy link

After successfully compiling flann on OpenBSD, I'm trying to run tests by running make test. This however doesn't work as the test binaries can not be found despite building with the BUILD_TESTS switch set to ON:

cmake \
-DBUILD_C_BINDINGS=ON \
-DBUILD_PYTHON_BINDINGS=OFF \
-DBUILD_MATLAB_BINDINGS=OFF \
-DBUILD_CUDA_LIB=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=ON \
-DBUILD_DOC=OFF \
-DUSE_OPENMP=OFF \
-DUSE_MPI=OFF .. && make

Instead I first have to run make tests to compile them and then run them with make test. Is this intended? If yes, what is the purpose of the BUILD_TESTS switch then?

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

No branches or pull requests

1 participant