mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
Merge branch 'FindGLUT-link-dirs' into release-3.22
Merge-request: !6985
This commit is contained in:
@@ -55,6 +55,9 @@ function(_add_glut_target_simple)
|
||||
if(GLUT_LIBRARIES)
|
||||
target_link_libraries(GLUT::GLUT INTERFACE ${GLUT_LIBRARIES})
|
||||
endif()
|
||||
if(GLUT_LIBRARY_DIRS)
|
||||
target_link_directories(GLUT::GLUT INTERFACE ${GLUT_LIBRARY_DIRS})
|
||||
endif()
|
||||
if(GLUT_LDFLAGS)
|
||||
target_link_options(GLUT::GLUT INTERFACE ${GLUT_LDFLAGS})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user