1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

cmake: do not link to SDL2main library

This commit is contained in:
Anonymous Maarten 2018-06-07 02:10:50 +02:00
parent 4f98e363ce
commit cd55d17639

View File

@ -28,7 +28,10 @@ if(CHECK_INCLUDES)
find_package(IncludeWhatYouUse REQUIRED)
endif()
# Do not link to SDL2main library
set(SDL2_BUILDING_LIBRARY True)
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
find_package(OpenAL REQUIRED)
find_package(Bullet REQUIRED)