repertory/cmake/os_detection.cmake
Scott E. Graves 5ec91e2d20
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
fix
2023-12-01 11:12:58 -06:00

14 lines
250 B
CMake

if(UNIX AND NOT APPLE)
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(FREEBSD TRUE)
else()
set(LINUX TRUE)
endif()
elseif(UNIX AND APPLE)
set(MACOS TRUE)
endif()
if (LINUX)
find_file(ALPINE_FOUND alpine-release PATHS /etc)
endif()