Skip to content

Commit

Permalink
#223: Generic CMake Unix Platform Support (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrechette authored Sep 6, 2024
2 parents 86ca58e + 823d042 commit d2dc5ca
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 d2dc5ca

Please sign in to comment.