cmake: no need to explicitly add a depency (target_link_libraries does this implicitly)
This commit is contained in:
1 parent
ad21c70408
commit
97711e99fe
1 file changed
+2
-4
+2
-4
@@ -253,10 +253,8 @@ if(SDL_DUMMYVIDEO)
|
||||
endif()
|
||||
|
||||
if(OPENGL_FOUND)
|
||||
add_dependencies(testshader OpenGL::GL)
|
||||
add_dependencies(testgl2 OpenGL::GL)
|
||||
target_link_libraries(testshader OpenGL::GL)
|
||||
target_link_libraries(testgl2 OpenGL::GL)
|
||||
target_link_libraries(testshader OpenGL::GL)
|
||||
target_link_libraries(testgl2 OpenGL::GL)
|
||||
endif()
|
||||
|
||||
file(GLOB RESOURCE_FILES *.bmp *.wav *.hex moose.dat utf8.txt)
|
||||
|
||||
Reference in new issue
Block a user