From 3124e627cf015b3d8a7be79a70cf8539c52e6792 Mon Sep 17 00:00:00 2001 From: Koncord Date: Wed, 13 Sep 2017 21:30:16 +0800 Subject: [PATCH] [General] Move hack back to the right place --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d34041ad..b996ca326 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,7 +221,6 @@ endif() IF(BUILD_OPENMW OR BUILD_OPENCS) find_package(OpenSceneGraph 3.3.4 REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX) - include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}) set(USED_OSG_PLUGINS osgdb_bmp @@ -265,6 +264,8 @@ IF(BUILD_OPENMW OR BUILD_OPENCS) ENDIF(BUILD_OPENMW OR BUILD_OPENCS) +include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}) # HACK: DON'T TOUCH IT! + set(BOOST_COMPONENTS system filesystem program_options) if(WIN32)