summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <jose.r.fonseca@gmail.com>2016-02-02 17:33:32 +0000
committerJose Fonseca <jose.r.fonseca@gmail.com>2016-02-02 17:36:21 +0000
commitd15ad89f89e433e8f094d81f2e6a3f3d8adbd422 (patch)
treeb9a289364c6335e51b00873262fdcc8fd7253304
parentd8684fb8676f4548dd384a1e86ea150d1591d84d (diff)
downloadmesa-demos-d15ad89f89e433e8f094d81f2e6a3f3d8adbd422.zip
mesa-demos-d15ad89f89e433e8f094d81f2e6a3f3d8adbd422.tar.xz
cmake: Build glsl-compile-time without linking glmain.c.
-rw-r--r--src/perf/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/perf/CMakeLists.txt b/src/perf/CMakeLists.txt
index 68b6875..684aa85 100644
--- a/src/perf/CMakeLists.txt
+++ b/src/perf/CMakeLists.txt
@@ -37,3 +37,6 @@ foreach (target ${targets})
set_target_properties (${subdir}_${target} PROPERTIES OUTPUT_NAME ${target})
install (TARGETS ${subdir}_${target} DESTINATION ${subdir})
endforeach (target)
+
+add_executable (glsl-compile-time glsl-compile-time.c)
+install (TARGETS glsl-compile-time DESTINATION ${subdir})