diff --git a/CMakeLists.txt b/CMakeLists.txt index ba17da7e..b0cf2a4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,7 +130,7 @@ add_subdirectory(tests) #-------------------------------------------------------------------- # Create shared configuration header #-------------------------------------------------------------------- -configure_file(${GLFW_SOURCE_DIR}/src/config.h.cmake +configure_file(${GLFW_SOURCE_DIR}/src/config.h.in ${GLFW_BINARY_DIR}/src/config.h @ONLY) #-------------------------------------------------------------------- diff --git a/src/config.h.cmake b/src/config.h.in similarity index 100% rename from src/config.h.cmake rename to src/config.h.in