Commit adf36884 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

COMP: CMake 1.X does not support INCLUDE(module).

parent d4486770
......@@ -243,7 +243,7 @@ ELSE (WIN32)
IF (APPLE)
SET(VTK_USE_APPLE_LOADER 1)
ELSE (APPLE)
INCLUDE(CheckFunctionExists)
INCLUDE(${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
SET(VTK_SAVE_CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES}")
SET(CMAKE_REQUIRED_LIBRARIES "${OPENGL_LIBRARIES};${CMAKE_REQUIRED_LIBRARIES}")
CHECK_FUNCTION_EXISTS(glXGetProcAddressARB VTK_USE_GLX_GET_PROC_ADDRESS_ARB)
......
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