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
commit11ab7328455192b9cdb4bbb79f8615bf356182ca (patch)
treee0efa000afff888a01a2c43e28784c44829472a5 /build/platform/opengl/ya.make
parent6d9304bc5310ea888178fc8640d175001436d29d (diff)
downloadydb-11ab7328455192b9cdb4bbb79f8615bf356182ca.tar.gz
Restoring authorship annotation for <trivias@yandex-team.ru>. Commit 1 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 94f0431d18..2c88b9d7a9 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()