Build debug, debugging and debuglog for all targets

The server will require SDL2
pull/541/head
Koncord 5 years ago
parent b9da843196
commit 61ef177d48
No known key found for this signature in database
GPG Key ID: CBBFF7020054B62B

@ -269,6 +269,7 @@ endif()
if(BUILD_OPENMW OR BUILD_OPENCS OR BUILD_OPENMW_MP) 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) find_package(OpenSceneGraph 3.3.4 REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX osgShadow)
include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS}) include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS})
find_package(SDL2 REQUIRED)
endif() endif()
IF(BUILD_OPENMW OR BUILD_OPENCS) IF(BUILD_OPENMW OR BUILD_OPENCS)
@ -316,7 +317,6 @@ IF(BUILD_OPENMW OR BUILD_OPENCS)
endif() endif()
find_package(MyGUI 3.2.2 REQUIRED) find_package(MyGUI 3.2.2 REQUIRED)
find_package(SDL2 REQUIRED)
find_package(OpenAL REQUIRED) find_package(OpenAL REQUIRED)
find_package(Bullet ${REQUIRED_BULLET_VERSION} REQUIRED COMPONENTS BulletCollision LinearMath) find_package(Bullet ${REQUIRED_BULLET_VERSION} REQUIRED COMPONENTS BulletCollision LinearMath)
ELSE() ELSE()

@ -91,11 +91,10 @@ add_component_dir (misc
gcd constants utf8stream stringops resourcehelpers rng messageformatparser weakcache gcd constants utf8stream stringops resourcehelpers rng messageformatparser weakcache
) )
if (BUILD_OPENMW OR BUILD_OPENCS)
add_component_dir(debug add_component_dir(debug
debugging debuglog debugging debuglog
) )
endif ()
IF(NOT WIN32 AND NOT APPLE) IF(NOT WIN32 AND NOT APPLE)
add_definitions(-DGLOBAL_DATA_PATH="${GLOBAL_DATA_PATH}") add_definitions(-DGLOBAL_DATA_PATH="${GLOBAL_DATA_PATH}")

Loading…
Cancel
Save