From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 1 Apr 2022 01:55:25 +0200 Subject: [PATCH] Link with the needed serenity libraries Co-Authored-By: Valtteri Koskivuori 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)