summaryrefslogtreecommitdiffstats
path: root/Tests/FindGLUT
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-17 18:05:54 (GMT)
committerBrad King <brad.king@kitware.com>2021-12-20 14:53:33 (GMT)
commit6fda93faf852c3f1f9c32e4b19dc0361504ef325 (patch)
treeab2ccb9f37ea8695b6d8188def804da2a2d59e39 /Tests/FindGLUT
parent641b3f41016809a4160c919c6fb47481e33563ed (diff)
downloadCMake-6fda93faf852c3f1f9c32e4b19dc0361504ef325.zip
CMake-6fda93faf852c3f1f9c32e4b19dc0361504ef325.tar.gz
CMake-6fda93faf852c3f1f9c32e4b19dc0361504ef325.tar.bz2
FindGLUT: Provide modern-named GLUT_INCLUDE_DIRS result variable
Previously this module only provided `GLUT_INCLUDE_DIR`, which does not follow the modern naming convention documented in `cmake-developer(7)`. Issue: #23018
Diffstat (limited to 'Tests/FindGLUT')
-rw-r--r--Tests/FindGLUT/Test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindGLUT/Test/CMakeLists.txt b/Tests/FindGLUT/Test/CMakeLists.txt
index f6440b2..0f4e536 100644
--- a/Tests/FindGLUT/Test/CMakeLists.txt
+++ b/Tests/FindGLUT/Test/CMakeLists.txt
@@ -9,7 +9,7 @@ target_link_libraries(testglut_tgt GLUT::GLUT)
add_test(NAME testglut_tgt COMMAND testglut_tgt)
add_executable(testglut_var main.c)
-target_include_directories(testglut_var PRIVATE ${GLUT_INCLUDE_DIR})
+target_include_directories(testglut_var PRIVATE ${GLUT_INCLUDE_DIRS})
target_link_libraries(testglut_var PRIVATE ${GLUT_LIBRARIES})
add_test(NAME testglut_var COMMAND testglut_var)