mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-06 03:19:43 +00:00
Build debug, debugging and debuglog for all targets
The server will require SDL2
This commit is contained in:
parent
b9da843196
commit
61ef177d48
2 changed files with 5 additions and 6 deletions
|
@ -269,6 +269,7 @@ endif()
|
|||
if(BUILD_OPENMW OR BUILD_OPENCS OR BUILD_OPENMW_MP)
|
||||
find_package(OpenSceneGraph 3.3.4 REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX osgShadow)
|
||||
include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS})
|
||||
find_package(SDL2 REQUIRED)
|
||||
endif()
|
||||
|
||||
IF(BUILD_OPENMW OR BUILD_OPENCS)
|
||||
|
@ -316,7 +317,6 @@ IF(BUILD_OPENMW OR BUILD_OPENCS)
|
|||
endif()
|
||||
|
||||
find_package(MyGUI 3.2.2 REQUIRED)
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(OpenAL REQUIRED)
|
||||
find_package(Bullet ${REQUIRED_BULLET_VERSION} REQUIRED COMPONENTS BulletCollision LinearMath)
|
||||
ELSE()
|
||||
|
|
|
@ -91,11 +91,10 @@ add_component_dir (misc
|
|||
gcd constants utf8stream stringops resourcehelpers rng messageformatparser weakcache
|
||||
)
|
||||
|
||||
if (BUILD_OPENMW OR BUILD_OPENCS)
|
||||
add_component_dir(debug
|
||||
debugging debuglog
|
||||
)
|
||||
endif ()
|
||||
add_component_dir(debug
|
||||
debugging debuglog
|
||||
)
|
||||
|
||||
|
||||
IF(NOT WIN32 AND NOT APPLE)
|
||||
add_definitions(-DGLOBAL_DATA_PATH="${GLOBAL_DATA_PATH}")
|
||||
|
|
Loading…
Reference in a new issue