Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:mingw:win64:sdr
mingw64-SDL2_net
0004-cmake-fix-indentation-of-pkg-config-if-els...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-cmake-fix-indentation-of-pkg-config-if-else-block.patch of Package mingw64-SDL2_net
From 8803ac48d860ebda6cff8d5981cafe12efad2639 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten <anonymous.maarten@gmail.com> Date: Thu, 1 Dec 2022 17:18:59 +0100 Subject: [PATCH 4/7] cmake: fix indentation of pkg-config if-else block --- CMakeLists.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d76fc8..11109c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,17 +206,17 @@ if(SDL2NET_INSTALL) COMPONENT devel ) - if(SDL2NET_BUILD_SHARED_LIBS) - set(ENABLE_SHARED_TRUE "") - set(ENABLE_SHARED_FALSE "#") - set(ENABLE_STATIC_TRUE "#") - set(ENABLE_STATIC_FALSE "") - else() - set(ENABLE_SHARED_TRUE "#") - set(ENABLE_SHARED_FALSE "") - set(ENABLE_STATIC_TRUE "") - set(ENABLE_STATIC_FALSE "#") - endif() + if(SDL2NET_BUILD_SHARED_LIBS) + set(ENABLE_SHARED_TRUE "") + set(ENABLE_SHARED_FALSE "#") + set(ENABLE_STATIC_TRUE "#") + set(ENABLE_STATIC_FALSE "") + else() + set(ENABLE_SHARED_TRUE "#") + set(ENABLE_SHARED_FALSE "") + set(ENABLE_STATIC_TRUE "") + set(ENABLE_STATIC_FALSE "#") + endif() set(prefix "${CMAKE_INSTALL_PREFIX}") set(exec_prefix "\${prefix}") -- 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