Commit 216ecc99 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

COMP: CMake 1.X does not support the LOCATION target property.

parent adf36884
......@@ -23,9 +23,16 @@
ADD_EXECUTABLE(vtkParseOGLExt Tokenizer.cxx ParseOGLExt.cxx)
GET_TARGET_PROPERTY(PARSEOGLEXT_EXE vtkParseOGLExt LOCATION)
IF (${CMAKE_MAJOR_VERSION} LESS 2)
SET(PARSEOGLEXT_EXE
${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/vtkParseOGLExt
)
ELSE (${CMAKE_MAJOR_VERSION} LESS 2)
GET_TARGET_PROPERTY(PARSEOGLEXT_EXE vtkParseOGLExt LOCATION)
ENDIF (${CMAKE_MAJOR_VERSION} LESS 2)
SET(VTK_PARSEOGLEXT_EXE ${PARSEOGLEXT_EXE}
CACHE FILEPATH "OpenGL extensions parser." FORCE)
MARK_AS_ADVANCED(VTK_PARSEOGLEXT_EXE)
FIND_FILE(VTK_GLEXT_FILE "glext.h"
${CMAKE_CURRENT_SOURCE_DIR}/headers
......
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