fix oudated CMake compile settings, add OpenGL dependency for Linux

This commit is contained in:
PoroCYon
2019-05-26 00:37:51 +02:00
parent 99dbbb0b04
commit 31e0f15797
4 changed files with 10 additions and 0 deletions

View File

@ -22,8 +22,13 @@ add_library(core STATIC
SPU.cpp
Wifi.cpp
WifiAP.cpp
# opengl backend stuff
GPU3D_OpenGL.cpp
OpenGLSupport.cpp
)
if (WIN32)
target_link_libraries(core ole32 comctl32 ws2_32)
else()
target_link_libraries(core OpenGL)
endif()