Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
b91189db
Unverified
Commit
b91189db
authored
May 27, 2018
by
John Kessenich
Committed by
GitHub
May 27, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #876 from ligfx/cmaketargetincludedirectories
CMake: use target_include_directories to expose includes
parents
92d05c0c
a895f378
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
SPIRV/CMakeLists.txt
+1
-0
CMakeLists.txt
glslang/CMakeLists.txt
+1
-0
No files found.
SPIRV/CMakeLists.txt
View file @
b91189db
...
...
@@ -43,6 +43,7 @@ endif(ENABLE_NV_EXTENSIONS)
add_library
(
SPIRV
${
LIB_TYPE
}
${
SOURCES
}
${
HEADERS
}
)
set_property
(
TARGET SPIRV PROPERTY FOLDER glslang
)
set_property
(
TARGET SPIRV PROPERTY POSITION_INDEPENDENT_CODE ON
)
target_include_directories
(
SPIRV PUBLIC ..
)
add_library
(
SPVRemapper
${
LIB_TYPE
}
${
SPVREMAP_SOURCES
}
${
SPVREMAP_HEADERS
}
)
set_property
(
TARGET SPVRemapper PROPERTY FOLDER glslang
)
...
...
glslang/CMakeLists.txt
View file @
b91189db
...
...
@@ -84,6 +84,7 @@ add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${H
set_property
(
TARGET glslang PROPERTY FOLDER glslang
)
set_property
(
TARGET glslang PROPERTY POSITION_INDEPENDENT_CODE ON
)
target_link_libraries
(
glslang OGLCompiler OSDependent
)
target_include_directories
(
glslang PUBLIC ..
)
if
(
WIN32 AND BUILD_SHARED_LIBS
)
set_target_properties
(
glslang PROPERTIES PREFIX
""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment