Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-SDL2_net
0007-Use-CMAKE_CURRENT_-_DIR-instead-of-CMAKE_-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0007-Use-CMAKE_CURRENT_-_DIR-instead-of-CMAKE_-_DIR.patch of Package mingw64-SDL2_net
From 6d9b64c438b3f60f08ea5c43d678f2beaf10ea70 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten <anonymous.maarten@gmail.com> Date: Thu, 5 Oct 2023 19:09:13 +0200 Subject: [PATCH 7/7] Use CMAKE_CURRENT_*_DIR instead of CMAKE_*_DIR --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba03cb9..1a9c738 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() -- 2.43.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor