1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 04:02:15 +00:00
conky/3rdparty/Vc/print_target_architecture.cmake
Tin Švagelj 6bf383cf78
Introduce geometry primitives (#1862)
* Introduce geometry primitives based on Vc
* Apply geometry primitives to some existing code

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-05-07 20:02:47 +00:00

16 lines
528 B
CMake

get_filename_component(_currentDir "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${_currentDir}/cmake/OptimizeForArchitecture.cmake")
if(arch STREQUAL "linux")
set(CMAKE_SYSTEM_NAME "Linux")
elseif(arch STREQUAL "darwin")
set(CMAKE_SYSTEM_NAME "Darwin")
elseif(arch MATCHES "mingw" OR arch MATCHES "[Ww]indows" OR arch MATCHES "win7" OR arch MATCHES "msys")
set(CMAKE_SYSTEM_NAME "Windows")
else()
message(FATAL_ERROR "unhandled system")
endif()
AutodetectHostArchitecture()
message(STATUS "${TARGET_ARCHITECTURE}")