From 973435cb52bf0af0f8c953d4147e41a3bdb54d1d Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 17 Jul 2014 21:32:31 +0200 Subject: [PATCH] Move config include path, so it works for the exported target --- CMakeLists.txt | 3 --- libobs/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cc0662e48..811fbba97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,9 +66,6 @@ endif() if(NOT INSTALLER_RUN) add_subdirectory(deps) - add_definitions(-DHAVE_CONFIG_H=1) - include_directories("${CMAKE_BINARY_DIR}/config") - add_subdirectory(libobs) if(WIN32) diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt index d2fb5052f..7425ae1d0 100644 --- a/libobs/CMakeLists.txt +++ b/libobs/CMakeLists.txt @@ -270,6 +270,7 @@ endif() target_include_directories(libobs PUBLIC "$" + "$" "$")