From 1c14661160b217fe2b04097a9e47bdbe23431ace Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 2 Oct 2017 06:48:59 +0200 Subject: cmake: wtf, all modules need include ${CMAKE_BINARY_DIR} --- cmake/opentrack-boilerplate.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake') 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}") -- cgit v1.2.3