wrong variable name
This commit is contained in:
parent
db4c71d7fe
commit
335bcf1259
@ -109,14 +109,14 @@ else ()
|
|||||||
FIND_PATH(LIBCONFIG++_INCLUDE_DIRS
|
FIND_PATH(LIBCONFIG++_INCLUDE_DIRS
|
||||||
NAMES libconfig.h++
|
NAMES libconfig.h++
|
||||||
PATHS /usr/include /usr/local/include) # search for libconfig include headers
|
PATHS /usr/include /usr/local/include) # search for libconfig include headers
|
||||||
FIND_LIBRARY(LIBCONFIG++_LIBRARY_DIRS
|
FIND_LIBRARY(LIBCONFIG++_LIBRARIES
|
||||||
NAMES config++
|
NAMES config++
|
||||||
PATHS /usr/lib /usr/local/lib) # search for actual lib
|
PATHS /usr/lib /usr/local/lib) # search for actual lib
|
||||||
|
|
||||||
if (LIBCONFIG++_INCLUDE_DIRS AND LIBCONFIG++_LIBRARY_DIRS)
|
if (LIBCONFIG++_INCLUDE_DIRS AND LIBCONFIG++_LIBRARIES)
|
||||||
message(STATUS "Fount libconfig!")
|
message(STATUS "Fount libconfig!")
|
||||||
message(STATUS "Using libconfig include dir(s): ${LIBCONFIG++_INCLUDE_DIRS}")
|
message(STATUS "Using libconfig include dir(s): ${LIBCONFIG++_INCLUDE_DIRS}")
|
||||||
message(STATUS "Using libconfig lib(s): ${LIBCONFIG++_LIBRARY_DIRS}")
|
message(STATUS "Using libconfig lib(s): ${LIBCONFIG++_LIBRARIES}")
|
||||||
else ()
|
else ()
|
||||||
message(FATAL_ERROR "Could not find LIBCONFIG")
|
message(FATAL_ERROR "Could not find LIBCONFIG")
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user