Skip to content

Commit

Permalink
Fix CMake condition to allow build on OpenBSD (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
Izder456 authored Feb 15, 2024
1 parent f33143d commit e672467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ if(APPLE)
set(MACOSX_BUNDLE_BUNDLE_VERSION "1.0.0")
endif()

if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD"))
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD"))
add_subdirectory("third_party/sdl2")
else()
find_package(SDL2)
Expand Down

0 comments on commit e672467

Please sign in to comment.