We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e7aec0 + 0d2fb3a commit 5bfe00dCopy full SHA for 5bfe00d
src/CMakeLists.txt
@@ -95,8 +95,8 @@ if( CMAKE_GENERATOR MATCHES "NMake" )
95
endif( )
96
97
98
-# If we are on linux, and we wish to link with the netlib BLAS implementation, we need to have a valid fortran compiler
99
-if( NOT CORR_TEST_WITH_ACML AND NOT WIN32 AND NOT APPLE )
+# If we are on linux, and we wish to link with the netlib BLAS implementation when BUILD_TEST is ON, we need to have a valid fortran compiler
+if(BUILD_TEST AND NOT CORR_TEST_WITH_ACML AND NOT WIN32 AND NOT APPLE)
100
project(clBLAS Fortran C CXX )
101
else( )
102
project(clBLAS C CXX)
0 commit comments