|
|
@@ -15,8 +15,8 @@ if (WIN32)
|
|
|
add_definitions (-DSDL_HAPTIC_DINPUT)
|
|
|
set (HAPTIC_DRIVER windows)
|
|
|
else ()
|
|
|
- message ("-- Building SDL without DX joystick support due to missing wbemcli.h")
|
|
|
- message ("-- For MSVC, get it from Windows 7 SDK. For MinGW, get it from eg. Wine sources or from MinGW-w64")
|
|
|
+ message (STATUS "Building SDL without DX joystick support due to missing wbemcli.h")
|
|
|
+ message (STATUS "For MSVC, get it from Windows 7 SDK. For MinGW, get it from eg. Wine sources or from MinGW-w64")
|
|
|
add_definitions (-DSDL_JOYSTICK_WINMM)
|
|
|
add_definitions (-DSDL_HAPTIC_DUMMY)
|
|
|
set (HAPTIC_DRIVER dummy)
|
|
|
@@ -55,9 +55,9 @@ else ()
|
|
|
include_directories (${X11_INCLUDE_DIRS})
|
|
|
|
|
|
if (NOT DEFINED HAVE_CONST_XEXT_ADDDISPLAY)
|
|
|
- message ("-- Following tests check whether X11 library installed in this system uses _Xconst in below functions")
|
|
|
- message ("-- A failed test result simply means the installed X11 library does not use _Xconst")
|
|
|
- message ("-- It is OK to proceed to build Urho3D regardless of the test result")
|
|
|
+ message (STATUS "Following tests check whether X11 library installed in this system uses _Xconst in below functions")
|
|
|
+ message (STATUS "A failed test result simply means the installed X11 library does not use _Xconst")
|
|
|
+ message (STATUS "It is OK to proceed to build Urho3D regardless of the test result")
|
|
|
endif ()
|
|
|
include (CheckCSourceCompiles)
|
|
|
set (CMAKE_REQUIRED_LIBRARIES ${X11_LIB} ${X11_LIB})
|