X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=OGLCompilersDLL%2FCMakeLists.txt;h=6ade8cabad0f8a5966b87acfa990dd95839bf846;hb=fde703438f815d274511b62070a2974b1ef706a5;hp=634bb7b82d2908c419e2e1db22e59bd2bd42c9b6;hpb=71241d82219f7b848172778e29205925a4e6e4d3;p=platform%2Fupstream%2Fglslang.git diff --git a/OGLCompilersDLL/CMakeLists.txt b/OGLCompilersDLL/CMakeLists.txt index 634bb7b..6ade8ca 100644 --- a/OGLCompilersDLL/CMakeLists.txt +++ b/OGLCompilersDLL/CMakeLists.txt @@ -6,10 +6,16 @@ if(WIN32) elseif(UNIX) include_directories(${include_directories} ../glslang/OSDependent/Linux) else(WIN32) - message("unkown platform") + message("unknown platform") endif(WIN32) -add_library(OGLCompiler STATIC InitializeDll.cpp InitializeDll.h) +set(SOURCES InitializeDll.cpp InitializeDll.h) + +add_library(OGLCompiler STATIC ${SOURCES}) + +if(WIN32) + source_group("Source" FILES ${SOURCES}) +endif(WIN32) install(TARGETS OGLCompiler ARCHIVE DESTINATION lib)