mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
cmake: do not link to SDL2main library
This commit is contained in:
parent
4f98e363ce
commit
cd55d17639
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user