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()