aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/opengl/ya.make
diff options
context:
space:
mode:
authortrivias <trivias@yandex-team.ru>2022-02-10 16:46:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:12 +0300
commit9bf2fa2b060c9881d3135c2208c624a1dd546ecc (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build/platform/opengl/ya.make
parent11ab7328455192b9cdb4bbb79f8615bf356182ca (diff)
downloadydb-9bf2fa2b060c9881d3135c2208c624a1dd546ecc.tar.gz
Restoring authorship annotation for <trivias@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/platform/opengl/ya.make')
-rw-r--r--build/platform/opengl/ya.make52
1 files changed, 26 insertions, 26 deletions
diff --git a/build/platform/opengl/ya.make b/build/platform/opengl/ya.make
index 2c88b9d7a9..94f0431d18 100644
--- a/build/platform/opengl/ya.make
+++ b/build/platform/opengl/ya.make
@@ -1,27 +1,27 @@
-RESOURCES_LIBRARY()
-
-OWNER(g:contrib heretic)
-
-IF (NOT OPENGL_REQUIRED)
- MESSAGE(FATAL_ERROR "No OpenGL Toolkit for your build")
-ELSE()
- IF (OS_LINUX)
+RESOURCES_LIBRARY()
+
+OWNER(g:contrib heretic)
+
+IF (NOT OPENGL_REQUIRED)
+ MESSAGE(FATAL_ERROR "No OpenGL Toolkit for your build")
+ELSE()
+ IF (OS_LINUX)
IF (OPENGL_VERSION == "18.0.5")
- DECLARE_EXTERNAL_RESOURCE(OPENGL sbr:1271121094)
- SET(OS_SUFFIX "x86_64-linux-gnu")
- ELSE()
- ENABLE(OPENGL_NOT_FOUND)
- ENDIF()
- ELSE()
- ENABLE(OPENGL_NOT_FOUND)
- ENDIF()
-
- IF (OPENGL_NOT_FOUND)
- MESSAGE(FATAL_ERROR "No OpenGL Toolkit for the selected platform")
- ELSE()
- CFLAGS(GLOBAL "-I$OPENGL_RESOURCE_GLOBAL/usr/include")
- LDFLAGS("-L$OPENGL_RESOURCE_GLOBAL/usr/lib/$OS_SUFFIX")
- ENDIF()
-ENDIF()
-
-END()
+ DECLARE_EXTERNAL_RESOURCE(OPENGL sbr:1271121094)
+ SET(OS_SUFFIX "x86_64-linux-gnu")
+ ELSE()
+ ENABLE(OPENGL_NOT_FOUND)
+ ENDIF()
+ ELSE()
+ ENABLE(OPENGL_NOT_FOUND)
+ ENDIF()
+
+ IF (OPENGL_NOT_FOUND)
+ MESSAGE(FATAL_ERROR "No OpenGL Toolkit for the selected platform")
+ ELSE()
+ CFLAGS(GLOBAL "-I$OPENGL_RESOURCE_GLOBAL/usr/include")
+ LDFLAGS("-L$OPENGL_RESOURCE_GLOBAL/usr/lib/$OS_SUFFIX")
+ ENDIF()
+ENDIF()
+
+END()