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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user