From 823d042a79d8a675acec22242377b91e344f90a8 Mon Sep 17 00:00:00 2001 From: Brad D Date: Tue, 3 Sep 2024 03:11:36 -0500 Subject: [PATCH] #223: Generic CMake Unix Platform Support --- cmake/CMakePlatforms.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/CMakePlatforms.cmake b/cmake/CMakePlatforms.cmake index 8f88f160..37e80e91 100644 --- a/cmake/CMakePlatforms.cmake +++ b/cmake/CMakePlatforms.cmake @@ -24,6 +24,9 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Android") elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten") set(PLATFORM_EMSCRIPTEN 1) set(PLATFORM_NAME "Emscripten") +elseif(${UNIX}) + set(PLATFORM_UNIX 1) + set(PLATFORM_NAME "UNIX") else() message(FATAL_ERROR "Unknown platform ${CMAKE_SYSTEM_NAME}!") endif()