Newer
Older
minerva / Ports / c-ray / patches / 0004-Link-with-the-needed-minerva-libraries.patch
@minerva minerva on 13 Jul 922 bytes Initial commit
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 1 Apr 2022 01:55:25 +0200
Subject: [PATCH] Link with the needed minerva 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 -lcoreminimal -lpthread -lstdc++ -lm)
 endif ()
 
 include(CheckIPOSupported)