Skip to content

Commit

Permalink
Ensure all macros and functions are padded with 2 empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jhol committed Jul 19, 2024
1 parent 8bf396b commit da660a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conan_provider.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ set(CONAN_MINIMUM_VERSION 2.0.5)
cmake_policy(PUSH)
cmake_minimum_required(VERSION 3.24)


function(detect_os OS OS_API_LEVEL OS_SDK OS_SUBSYSTEM OS_VERSION)
# it could be cross compilation
message(STATUS "CMake-Conan: cmake_system_name=${CMAKE_SYSTEM_NAME}")
Expand Down Expand Up @@ -304,6 +305,7 @@ function(detect_build_type BUILD_TYPE)
endif()
endfunction()


macro(set_conan_compiler_if_appleclang lang command output_variable)
if(CMAKE_${lang}_COMPILER_ID STREQUAL "AppleClang")
execute_process(COMMAND xcrun --find ${command}
Expand Down

0 comments on commit da660a9

Please sign in to comment.