You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set("USE_${_SBUILD_NAME}""${_SBUILD_DEFAULT}"CACHESTRING"version of ${_SBUILD_NAME} to use, this can be 1) a path to the library source, 2) EMBEDDED to use the provided version, 3) SYSTEM to use an already installed version (you can use CMAKE_PREFIX_PATH to specify where to look, or 4) AUTO to use SYSTEM if available and EMBEDDED otherwise")
message(DEPRECATION "The add_compiler_export_flags function is obsolete. Use the CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties instead.")
416
-
endif()
417
-
418
-
_test_compiler_hidden_visibility()
419
-
_test_compiler_has_deprecated()
420
-
421
-
option(USE_COMPILER_HIDDEN_VISIBILITY
422
-
"Use HIDDEN visibility support if available."ON)
423
-
mark_as_advanced(USE_COMPILER_HIDDEN_VISIBILITY)
424
-
if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY))
425
-
# Just return if there are no flags to add.
426
-
return()
427
-
endif()
428
-
429
-
set (EXTRA_FLAGS "-fvisibility=hidden")
430
-
431
-
if(COMPILER_HAS_HIDDEN_INLINE_VISIBILITY)
432
-
set (EXTRA_FLAGS "${EXTRA_FLAGS} -fvisibility-inlines-hidden")
433
-
endif()
434
-
435
-
# Either return the extra flags needed in the supplied argument, or to the
0 commit comments