1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:17:34 +00:00

Ports: Update c-ray's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-17 21:31:44 +04:30 committed by Ali Mohammad Pur
parent 8b9302890e
commit 4874465018
17 changed files with 654 additions and 105 deletions

View file

@ -0,0 +1,27 @@
From 031255918e1421e343aedaaeb3a71b77a01dbe60 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 1 Apr 2022 01:55:25 +0200
Subject: [PATCH 4/8] Link with the needed serenity libraries
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
Co-Authored-By: EWouters <6179932+EWouters@users.noreply.github.com>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20f8440..dc254b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,7 +71,7 @@ add_executable(c-ray ${SOURCES})
target_include_directories(c-ray PRIVATE ${c-ray_SOURCE_DIR}/src)
target_include_directories(c-ray PRIVATE ${c-ray_SOURCE_DIR}/tests)
if (NOT MSVC)
- target_link_libraries(c-ray PRIVATE -lpthread -lm)
+ target_link_libraries(c-ray PRIVATE -lSDL2 -lgui -lgfx -lipc -lcore -lpthread -lstdc++ -lm)
endif ()
include(CheckIPOSupported)
--
2.36.1