Remove 3.0 dependendent target export in build tree

This commit is contained in:
Zbigniew Mandziejewicz 2015-10-08 00:22:37 +08:00
parent d022855f54
commit 2f59dadb0c

View File

@ -512,11 +512,9 @@ configure_file(
glfw3Config.cmake
COPYONLY)
if(NOT CMAKE_VERSION VERSION_LESS 3.0)
export(
EXPORT glfwTargets
FILE "${GLFW_BINARY_DIR}/glfw3Targets.cmake")
endif()
TARGETS glfw
FILE glfw3Targets.cmake)
if (GLFW_BUILD_DOCS)
configure_file(docs/Doxyfile.in