diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 19:30:51 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 19:30:51 +0100 |
commit | aaa96959a1003ee5e34c4c121286b371bc298ade (patch) | |
tree | d0f7b8e7b5718f7ae9af29a64da4565b20082daf /cmake | |
parent | 5696ce8796fd7f03097a77edd5fe3ab1f4bcfe64 (diff) |
cmake: change up OPENTRACK_BASE_PATH handling
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
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 <QCoreApplication> # include <QString> # 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) |