File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -192,10 +192,14 @@ target_compile_options(${target}
192192# '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
193193
194194include (Portability)
195+ message ("${PROJECT_OS_FAMILY} " )
195196if ("${PROJECT_OS_FAMILY} " STREQUAL "macos" )
196- if ("${CMAKE_C_COMPILER_ID} " STREQUAL "AppleClang" OR "${CMAKE_C_COMPILER_ID} " STREQUAL "Clang" )
197+ message ("PROJECT FAMILY IS MACOS" )
198+ if ("${CMAKE_C_COMPILER_ID} " STREQUAL "AppleClang" OR "${CMAKE_C_COMPILER_ID} " STREQUAL "AppleClang*" OR "${CMAKE_C_COMPILER_ID} " STREQUAL "Clang" )
199+ message ("${CMAKE_C_COMPILER_ID} inside if clause" )
197200 target_compile_options (${target} PRIVATE "-fdeclspec" )
198201 endif ()
202+ message ("After if for Ruby compiler bug fix on MacOSX" )
199203endif ()
200204
201205
You can’t perform that action at this time.
0 commit comments