Skip to content
Snippets Groups Projects
Commit 6a9ef8eb authored by Christoph Grüninger's avatar Christoph Grüninger Committed by Felix Schindler
Browse files

[CMake] Include used CheckIncludeFiles to FindGrape, too

parent e2b991f1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment