Commit 2749fb53 authored by Christoph Grüninger's avatar Christoph Grüninger

[CMake] Include used CheckIncludeFiles to FindGrape, too

(cherry picked from commit db4ad282)
Signed-off-by: Christoph Grüninger's avatarChristoph Grüninger <gruenich@dune-project.org>
parent e2b991f1
......@@ -47,6 +47,7 @@ cmake_push_check_state()
set(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} -DENABLE_GRAPE")
set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${OPENGL_INCLUDE_DIR} ${GRAPE_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${OPENGL_LIBRARIES} ${XEXT_LIBS} ${CMAKE_REQUIRED_LIBRARIES} dl m)
include(CheckIncludeFiles)
check_include_files(grape.h _GRAPE_HEADER_USABLE)
# find library
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment