diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-05-18 14:25:35 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-05-23 13:04:26 -0700 |
commit | df3ad924503de5f0f27ff167917cfd4b7c37c9e6 (patch) | |
tree | d5dfc9d5b53b6668800922be8c2c340ec88c145f /cmake | |
parent | f03240c7c3857bbfac4d1a27845a5b376c771c9f (diff) |
cmake: Relocate all GLUT directives into single location
Nearly all CMakeLists.gl.txt contained the following:
include_directories(${GLUT_INCLUDE_DIR})
link_libraries(${GLUT_glut_LIBRARY})
This patch relocates them to cmake/target_api/gl/CMakeLists.txt.
Reviewed-by: Pauli Nieminen <pauli.nieminen@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/target_api/gl/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/target_api/gl/CMakeLists.txt b/cmake/target_api/gl/CMakeLists.txt index 506bb938c..47adb91f7 100644 --- a/cmake/target_api/gl/CMakeLists.txt +++ b/cmake/target_api/gl/CMakeLists.txt @@ -3,6 +3,12 @@ add_definitions( -DUSE_OPENGL -DUSE_GLUT ) +include_directories( + ${GLUT_INCLUDE_DIR} + ) +link_libraries( + ${GLUT_glut_LIBRARY} + ) add_subdirectory(${piglit_SOURCE_DIR}/tests ${piglit_BINARY_DIR}/target_api/${piglit_target_api}/tests ) |