File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 12
12
cmake_minimum_required ( VERSION 3.18 FATAL_ERROR )
13
13
14
14
option (JSONFORTRAN_ENABLE_DOC_GENERATION "Enable doc generation" OFF )
15
- option (JSONFORTRAN_ENABLE_TESTS "Enable tests" OFF )
16
- option (JSONFORTRAN_STATIC_LIBRARY_ONLY "Generate only static library" ON )
15
+ option (JSONFORTRAN_ENABLE_TESTS "Enable tests" On )
16
+ option (JSONFORTRAN_STATIC_LIBRARY_ONLY "Generate only static library" OFF )
17
17
18
18
# Use MSVS folders to organize projects on windows
19
19
set_property (GLOBAL PROPERTY USE_FOLDERS ON )
@@ -180,6 +180,7 @@ else()
180
180
add_library ( ${LIB_NAME} -static STATIC ${JF_LIB_SRCS} )
181
181
else ()
182
182
add_library ( ${LIB_NAME} SHARED ${JF_LIB_SRCS} )
183
+ add_library ( ${LIB_NAME} -static STATIC ${JF_LIB_SRCS} )
183
184
endif ()
184
185
endif ()
185
186
You can’t perform that action at this time.
0 commit comments