We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2f1d7d commit cd10f40Copy full SHA for cd10f40
src/clapack/F2CLIBS/libf2c/CMakeLists.txt
@@ -1,7 +1,12 @@
1
+
2
+option(F2C_INCLUDE_MAIN "Include main.c in the f2c library" OFF)
3
set(MISC
- f77vers.c i77vers.c main.c s_rnge.c abort_.c exit_.c getarg_.c iargc_.c
4
+ f77vers.c i77vers.c s_rnge.c abort_.c exit_.c getarg_.c iargc_.c
5
getenv_.c signal_.c s_stop.c s_paus.c system_.c cabs.c ctype.c
6
derf_.c derfc_.c erf_.c erfc_.c sig_die.c uninit.c)
7
+if (F2C_INCLUDE_MAIN)
8
+ set(MISC ${MISC} main.c)
9
+endif()
10
set(POW pow_ci.c pow_dd.c pow_di.c pow_hh.c pow_ii.c pow_ri.c pow_zi.c pow_zz.c)
11
set(CX c_abs.c c_cos.c c_div.c c_exp.c c_log.c c_sin.c c_sqrt.c)
12
set(DCX z_abs.c z_cos.c z_div.c z_exp.c z_log.c z_sin.c z_sqrt.c)
0 commit comments