mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04:00
Build debug, debugging and debuglog for all targets
The server will require SDL2
This commit is contained in:
parent
b9da843196
commit
61ef177d48
@ -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…
x
Reference in New Issue
Block a user