From ec771046fe323e8cd6e337cc5b799c39779e9c79 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 9 Feb 2019 21:22:44 +0100 Subject: cmake: try not use leading underscore in header name --- cmake/opentrack-boilerplate.cmake | 2 +- compat/library-path.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index a2db939d..0e9516a8 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -28,7 +28,7 @@ set(new-hier-path "#pragma once include_directories("${CMAKE_BINARY_DIR}") -set(hier-path-filename "${CMAKE_BINARY_DIR}/__opentrack-library-path.h") +set(hier-path-filename "${CMAKE_BINARY_DIR}/opentrack-library-path.hxx") set(orig-hier-path "") if(EXISTS "${hier-path-filename}") file(READ ${hier-path-filename} orig-hier-path) diff --git a/compat/library-path.hpp b/compat/library-path.hpp index e14cf5e0..49e2c414 100644 --- a/compat/library-path.hpp +++ b/compat/library-path.hpp @@ -1,4 +1,4 @@ #pragma once // from build directory -#include "__opentrack-library-path.h" +#include "opentrack-library-path.hxx" -- cgit v1.2.3