LEDA Version is detected also when path and lib are passed by cmake-arguments

This commit is contained in:
Michael Kerber 2008-11-18 09:32:12 +00:00
parent d272355dc3
commit 86fe5c6df1
1 changed files with 26 additions and 25 deletions

View File

@ -54,6 +54,8 @@ else()
typed_cache_set( STRING "Linker flags for the LEDA library" LEDA_LINKER_FLAGS "$ENV{LEDA_LINKER_FLAGS}" )
endif()
endif()
set( LEDA_BASIC_H "${LEDA_INCLUDE_DIR}/LEDA/system/basic.h" )
if ( NOT EXISTS ${LEDA_BASIC_H} )
set( LEDA_BASIC_H "${LEDA_INCLUDE_DIR}/LEDA/basic.h" )
@ -83,4 +85,3 @@ else()
set(LEDA_FOUND TRUE)
endif()
endif()