update Linux build for latest CMake changes from Windows
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25793 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
d18e2d8adc
commit
3ce1058dbe
6 changed files with 18 additions and 13 deletions
|
|
@ -11,15 +11,18 @@ endif(WIN32)
|
|||
|
||||
add_executable(glslangValidator StandAlone.cpp)
|
||||
|
||||
target_link_libraries(glslangValidator
|
||||
glslang
|
||||
GenericCodeGen
|
||||
OSDependent
|
||||
Preprocessor
|
||||
OGLCompiler)
|
||||
set(LIBRARIES
|
||||
glslang
|
||||
GenericCodeGen
|
||||
OSDependent
|
||||
Preprocessor
|
||||
OGLCompiler)
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(${target_link_libraries} pthread)
|
||||
set(LIBRARIES ${LIBRARIES} pthread)
|
||||
endif(UNIX)
|
||||
|
||||
target_link_libraries(glslangValidator ${LIBRARIES})
|
||||
|
||||
install(TARGETS glslangValidator
|
||||
RUNTIME DESTINATION bin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue