cmake: more "advanced" library variables hidden in configuration tool
This commit is contained in:
@ -34,3 +34,5 @@ else(VGA_FOUND)
|
||||
endif(VGA_FIND_REQUIRED)
|
||||
endif(VGA_FOUND)
|
||||
endif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
|
||||
mark_as_advanced(VGA_LIBRARY VGA_INCLUDE_DIR)
|
||||
|
||||
@ -37,6 +37,7 @@ link_directories(${Boost_LIBRARY_DIRS})
|
||||
|
||||
# libiberty required by Demangler.cc:
|
||||
find_library(LIB_IBERTY iberty)
|
||||
mark_as_advanced(LIB_IBERTY)
|
||||
|
||||
if(${LIB_IBERTY} STREQUAL LIB_IBERTY-NOTFOUND)
|
||||
message(FATAL_ERROR "libiberty not found. Try installing binutils-dev: [ sudo aptitude install binutils-dev ]")
|
||||
|
||||
Reference in New Issue
Block a user