Commit Graph

3 Commits

Author SHA1 Message Date
LuK1337 974ef0cc33 Link library against libGL
Fixes unknown GL symbols:
undefined symbol: glEnable	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glTexCoordPointer	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPopAttrib	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glEnableClientState	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glMatrixMode	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDisable	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPushAttrib	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glLoadIdentity	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glBlendFunc	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glBindTexture	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glOrtho	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDeleteTextures	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDisableClientState	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPixelStorei	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glGetIntegerv	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glDrawElements	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glTexImage2D	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glScissor	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPushMatrix	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glVertexPointer	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glPopMatrix	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glViewport	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glColorPointer	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glTexParameteri	(cmake-build-debug/libcstrike-basehook.so)
undefined symbol: glGenTextures	(cmake-build-debug/libcstrike-basehook.so)
2016-12-25 12:42:38 +01:00
LuK1337 11025e6484 Set include_directories in CMakeLists.txt 2016-12-25 12:40:39 +01:00
aixxe 2f9b1f444d Add main source file and placeholder hooks.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:20:39 +00:00