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 1212cmake_minimum_required ( VERSION 3.18 FATAL_ERROR )
1313
1414option (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 )
1717
1818# Use MSVS folders to organize projects on windows
1919set_property (GLOBAL PROPERTY USE_FOLDERS ON )
@@ -180,6 +180,7 @@ else()
180180 add_library ( ${LIB_NAME} -static STATIC ${JF_LIB_SRCS} )
181181 else ()
182182 add_library ( ${LIB_NAME} SHARED ${JF_LIB_SRCS} )
183+ add_library ( ${LIB_NAME} -static STATIC ${JF_LIB_SRCS} )
183184 endif ()
184185endif ()
185186
You can’t perform that action at this time.
0 commit comments