summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-02 06:48:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-02 07:54:23 +0200
commit1c14661160b217fe2b04097a9e47bdbe23431ace (patch)
tree16bcef85beba3b4b1f98700d43ae6332da954b7d /cmake/opentrack-boilerplate.cmake
parent7a6a785538fa0c87aaf66814e0fd0943299b4fd9 (diff)
cmake: wtf, all modules need include ${CMAKE_BINARY_DIR}
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index cc197657..1a51413f 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -19,6 +19,8 @@ set(new-hier-path "#pragma once
#define OPENTRACK_I18N_PATH \"${opentrack-i18n-path}\"
")
+include_directories("${CMAKE_BINARY_DIR}")
+
set(hier-path-filename "${CMAKE_BINARY_DIR}/opentrack-library-path.h")
set(orig-hier-path "")
if(EXISTS "${hier-path-filename}")