File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ Build system
26
26
27
27
- disable setting the boolean variable MACOSX_RPATH to a string value to actually enable @rpath usage
28
28
29
+ - define SOPLEX_NEEDED and ZIMPL_NEEDED to avoid syntax error in configuration file
30
+
29
31
### Makefile
30
32
31
33
Miscellaneous
Original file line number Diff line number Diff line change @@ -1062,14 +1062,18 @@ target_link_libraries(libscip
1062
1062
${LAPACK_LIBRARIES}
1063
1063
${PAPILO_IMPORTED_TARGETS} )
1064
1064
1065
+ set (SOPLEX_NEEDED 0 )
1066
+ set (ZIMPL_NEEDED 0 )
1065
1067
if (SHARED )
1066
- set (SOPLEX_NEEDED 0 )
1067
- set (ZIMPL_NEEDED 0 )
1068
1068
target_link_libraries (libscip PRIVATE ${ZIMPL_PIC_LIBRARIES} ${LPS_PIC_LIBRARIES} ${SYM_PIC_LIBRARIES} )
1069
1069
add_executable (scip main.c ${scipsources} ${objscipsources} ${lpisources} ${tpisources} ${symsources} )
1070
1070
else ()
1071
- set (SOPLEX_NEEDED ${SOPLEX_FOUND} )
1072
- set (ZIMPL_NEEDED ${ZIMPL_FOUND} )
1071
+ if (SOPLEX_FOUND )
1072
+ set (SOPLEX_NEEDED 1 )
1073
+ endif ()
1074
+ if (ZIMPL_FOUND )
1075
+ set (ZIMPL_NEEDED 1 )
1076
+ endif ()
1073
1077
target_link_libraries (libscip PRIVATE ${ZIMPL_LIBRARIES} ${LPS_LIBRARIES} ${SYM_LIBRARIES} )
1074
1078
add_executable (scip main.c )
1075
1079
target_link_libraries (scip PUBLIC libscip )
You can’t perform that action at this time.
0 commit comments