lemon/config.h.cmake
author Akos Ladanyi <ladanyi@tmit.bme.hu>
Fri, 29 May 2009 12:44:37 +0100
changeset 679 9c7639f3a741
parent 627 20dac2104519
child 979 43a91b33f374
permissions -rw-r--r--
Minor CMake improvements

* Use the empty ELSE(), ENDIF(), ENDMACRO(), etc. syntax since this improves
readability and requires less typing.
* Use FIND_PACKAGE() instead of INCLUDE().
* Use the value of CMAKE_COMMAND variable instead of cmake, since this works
even if cmake is not in the PATH.
     1 #define LEMON_VERSION "@PROJECT_VERSION@"
     2 #cmakedefine LEMON_HAVE_LONG_LONG 1
     3 #cmakedefine LEMON_HAVE_LP 1
     4 #cmakedefine LEMON_HAVE_MIP 1
     5 #cmakedefine LEMON_HAVE_GLPK 1
     6 #cmakedefine LEMON_HAVE_CPLEX 1
     7 #cmakedefine LEMON_HAVE_CLP 1
     8 #cmakedefine LEMON_HAVE_CBC 1