File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
add_subdirectory (SRC)
2
- add_subdirectory (TESTING)
2
+ if ( BUILD_TESTING )
3
+ add_subdirectory (TESTING)
4
+ endif ()
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 2.6)
2
2
project (CLAPACK C)
3
- enable_testing ()
4
- include (CTest)
5
3
6
4
if (WIN32 AND NOT CYGWIN )
7
5
set (SECOND_SRC ${CLAPACK_SOURCE_DIR} /INSTALL /winsecond.c)
11
9
set (SECOND_SRC ${CLAPACK_SOURCE_DIR} /INSTALL /second.c)
12
10
set (DSECOND_SRC ${CLAPACK_SOURCE_DIR} /INSTALL /dsecnd.c)
13
11
endif ()
14
- enable_testing ()
12
+
15
13
option (USE_BLAS_WRAP "pre-pend f2c_ to each function in blas" OFF )
16
14
if (NOT USE_BLAS_WRAP)
17
15
# _zrotg_ seems to be missing in the wrap header
@@ -21,7 +19,12 @@ include_directories(${CLAPACK_SOURCE_DIR}/INCLUDE)
21
19
add_subdirectory (F2CLIBS)
22
20
add_subdirectory (BLAS)
23
21
add_subdirectory (SRC)
24
- add_subdirectory (TESTING)
22
+ if ( BUILD_TESTING )
23
+ enable_testing ()
24
+ include (CTest)
25
+ add_subdirectory (TESTING)
26
+ endif ()
27
+
25
28
set (CLAPACK_VERSION 3.2.1)
26
29
set (CPACK_PACKAGE_VERSION_MAJOR 3)
27
30
set (CPACK_PACKAGE_VERSION_MINOR 2)
You can’t perform that action at this time.
0 commit comments