Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/SDL2' into MorphOS
Browse files Browse the repository at this point in the history
  • Loading branch information
BeWorld2018 committed Oct 21, 2023
2 parents 5a3b728 + 6d9b64c commit 69d0c34
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 @@ -11,7 +11,7 @@ set(SDL_REQUIRED_VERSION 2.0.4)
include(PrivateSdlFunctions)
sdl_calculate_derived_version_variables()

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
message(FATAL_ERROR "Prevented in-tree built. Please create a build directory outside of the SDL_net source code and call cmake from there")
endif()

Expand Down

0 comments on commit 69d0c34

Please sign in to comment.