0
12
0
... | ... |
@@ -27,7 +27,7 @@ |
27 | 27 |
dnl Check the existence of long long type. |
28 | 28 |
AC_CHECK_TYPE(long long, [long_long_found=yes], [long_long_found=no]) |
29 | 29 |
if test x"$long_long_found" = x"yes"; then |
30 |
AC_DEFINE([ |
|
30 |
AC_DEFINE([LEMON_HAVE_LONG_LONG], [1], [Define to 1 if you have long long.]) |
|
31 | 31 |
fi |
32 | 32 |
|
33 | 33 |
dnl Checks for programs. |
1 |
INCLUDE_DIRECTORIES( |
|
1 |
INCLUDE_DIRECTORIES( |
|
2 |
${CMAKE_SOURCE_DIR} |
|
3 |
${PROJECT_BINARY_DIR} |
|
4 |
) |
|
5 |
|
|
6 |
CONFIGURE_FILE( |
|
7 |
${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake |
|
8 |
${CMAKE_CURRENT_BINARY_DIR}/config.h |
|
9 |
) |
|
2 | 10 |
|
3 | 11 |
ADD_LIBRARY(lemon |
4 | 12 |
arg_parser.cc |
... | ... |
@@ -18,3 +26,8 @@ |
18 | 26 |
DESTINATION include/lemon |
19 | 27 |
COMPONENT headers |
20 | 28 |
FILES_MATCHING PATTERN "*.h") |
29 |
|
|
30 |
INSTALL( |
|
31 |
FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h |
|
32 |
DESTINATION include/lemon |
|
33 |
COMPONENT headers) |
... | ... |
@@ -61,7 +61,7 @@ |
61 | 61 |
LIBS="$lx_save_libs" |
62 | 62 |
|
63 | 63 |
if test x"$lx_cplex_found" = x"yes"; then |
64 |
AC_DEFINE([ |
|
64 |
AC_DEFINE([LEMON_HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.]) |
|
65 | 65 |
AC_MSG_RESULT([yes]) |
66 | 66 |
else |
67 | 67 |
CPLEX_CFLAGS="" |
... | ... |
@@ -55,7 +55,7 @@ |
55 | 55 |
LIBS="$lx_save_libs" |
56 | 56 |
|
57 | 57 |
if test x"$lx_soplex_found" = x"yes"; then |
58 |
AC_DEFINE([ |
|
58 |
AC_DEFINE([LEMON_HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.]) |
|
59 | 59 |
AC_MSG_RESULT([yes]) |
60 | 60 |
else |
61 | 61 |
SOPLEX_CXXFLAGS="" |
0 comments (0 inline)