Do not put build artifacts in the source directory.

This commit is contained in:
Jose Santiago 2020-02-20 16:47:09 -06:00 committed by Nigel Stewart
parent 9a2c9a14b7
commit 882aef9761

View File

@ -214,9 +214,9 @@ if (APPLE)
set (requireslib)
endif ()
configure_file (${GLEW_DIR}/glew.pc.in ${GLEW_DIR}/glew.pc @ONLY)
configure_file (${GLEW_DIR}/glew.pc.in ${CMAKE_CURRENT_BINARY_DIR}/glew.pc @ONLY)
install(FILES ${GLEW_DIR}/glew.pc
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glew.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
)