Skip to content

Commit

Permalink
#223: Generic CMake Unix Platform Support
Browse files Browse the repository at this point in the history
  • Loading branch information
bedwardly-down committed Sep 3, 2024
1 parent 86ca58e commit 823d042
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/CMakePlatforms.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 823d042

Please sign in to comment.