From 7bbc6dc29f73f5fc8ef2517f7c98997f65a16146 Mon Sep 17 00:00:00 2001 From: Woodrow Douglass Date: Fri, 2 Jun 2023 07:31:09 -0400 Subject: [PATCH] Fix CMake conditional to allow FreeBSD build (#74) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b52d0c2..45fb995 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)