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 glfw3Config.cmake
COPYONLY) COPYONLY)
if(NOT CMAKE_VERSION VERSION_LESS 3.0) export(
export( TARGETS glfw
EXPORT glfwTargets FILE glfw3Targets.cmake)
FILE "${GLFW_BINARY_DIR}/glfw3Targets.cmake")
endif()
if (GLFW_BUILD_DOCS) if (GLFW_BUILD_DOCS)
configure_file(docs/Doxyfile.in configure_file(docs/Doxyfile.in