|
@@ -163,8 +163,8 @@ else ()
|
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse")
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse")
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse")
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse")
|
|
|
else ()
|
|
else ()
|
|
|
- message ("-- Using SSE2 instead of SSE because SSE fails on some Windows ports of GCC")
|
|
|
|
|
- message ("-- Disable SSE with the CMake option -DENABLE_SSE=0 if this is not desired")
|
|
|
|
|
|
|
+ message (STATUS "Using SSE2 instead of SSE because SSE fails on some Windows ports of GCC")
|
|
|
|
|
+ message (STATUS "Disable SSE with the CMake option -DENABLE_SSE=0 if this is not desired")
|
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2")
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2")
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2")
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2")
|
|
|
endif ()
|
|
endif ()
|
|
@@ -237,9 +237,9 @@ endfunction ()
|
|
|
# Override builtin function to suit our need, takes care of C flags as well as CXX flags
|
|
# Override builtin function to suit our need, takes care of C flags as well as CXX flags
|
|
|
function (add_compiler_export_flags)
|
|
function (add_compiler_export_flags)
|
|
|
if (NOT ANDROID AND NOT MSVC AND NOT DEFINED USE_COMPILER_HIDDEN_VISIBILITY AND NOT DEFINED COMPILER_HAS_DEPRECATED)
|
|
if (NOT ANDROID AND NOT MSVC AND NOT DEFINED USE_COMPILER_HIDDEN_VISIBILITY AND NOT DEFINED COMPILER_HAS_DEPRECATED)
|
|
|
- message ("-- Following tests check whether compiler installed in this system has export/import and deprecated attributes support")
|
|
|
|
|
- message ("-- CMake will generate a suitable export header file for this system based on the test result")
|
|
|
|
|
- message ("-- It is OK to proceed to build Urho3D regardless of the test result")
|
|
|
|
|
|
|
+ message (STATUS "Following tests check whether compiler installed in this system has export/import and deprecated attributes support")
|
|
|
|
|
+ message (STATUS "CMake will generate a suitable export header file for this system based on the test result")
|
|
|
|
|
+ message (STATUS "It is OK to proceed to build Urho3D regardless of the test result")
|
|
|
endif ()
|
|
endif ()
|
|
|
_test_compiler_hidden_visibility ()
|
|
_test_compiler_hidden_visibility ()
|
|
|
_test_compiler_has_deprecated ()
|
|
_test_compiler_has_deprecated ()
|