mirror of
https://github.com/alexbatalov/fallout1-ce.git
synced 2024-11-20 08:10:40 +00:00
Fix CMake conditional to allow FreeBSD build (#74)
This commit is contained in:
parent
bc367fd573
commit
7bbc6dc29f
@ -335,7 +335,7 @@ if(APPLE)
|
||||
set(MACOSX_BUNDLE_BUNDLE_VERSION "1.0.0")
|
||||
endif()
|
||||
|
||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD"))
|
||||
add_subdirectory("third_party/sdl2")
|
||||
else()
|
||||
find_package(SDL2)
|
||||
|
Loading…
Reference in New Issue
Block a user