Remove include_directories from CMakeLists, to enforce relative includes

* This also moves bison generated files into the source tree, so that
  include of glslang_tab.cpp.h and includes from glslang_tab.cpp work
  the same way.
This commit is contained in:
baldurk
2015-07-12 00:54:17 +02:00
parent e915da4aee
commit 08dee03d18
6 changed files with 4 additions and 31 deletions

View File

@@ -1,14 +1,5 @@
cmake_minimum_required(VERSION 2.8)
include_directories(. ../glslang)
if(WIN32)
include_directories(${include_directories} ../glslang/OSDependent/Windows)
elseif(UNIX)
include_directories(${include_directories} ../glslang/OSDependent/Linux)
else(WIN32)
message("unknown platform")
endif(WIN32)
set(SOURCES InitializeDll.cpp InitializeDll.h)
add_library(OGLCompiler STATIC ${SOURCES})