From aaa96959a1003ee5e34c4c121286b371bc298ade Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jan 2018 19:30:51 +0100 Subject: cmake: change up OPENTRACK_BASE_PATH handling --- cmake/opentrack-boilerplate.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 019efb05..0db91bd0 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -7,7 +7,6 @@ set(new-hier-path "#pragma once # include # include # include \"compat/base-path.hpp\" -# define OPENTRACK_BASE_PATH (application_base_path()) #endif #define OPENTRACK_LIBRARY_PATH \"${opentrack-hier-path}\" #define OPENTRACK_DOC_PATH \"${opentrack-hier-doc}\" @@ -17,7 +16,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.h") set(orig-hier-path "") if(EXISTS "${hier-path-filename}") file(READ ${hier-path-filename} orig-hier-path) -- cgit v1.2.3