From bb37af968c72020bd17e3c680f1bf8de8b4c5873 Mon Sep 17 00:00:00 2001 From: Andreas Stallinger Date: Sat, 11 Jul 2020 23:33:49 +0200 Subject: [PATCH] remove main from target_link_libraries, since we dont want to link a library called main with my_project --- Working-with-CMake.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Working-with-CMake.md b/Working-with-CMake.md index 9c019cc..c226d7c 100644 --- a/Working-with-CMake.md +++ b/Working-with-CMake.md @@ -10,7 +10,7 @@ set(CMAKE_C_STANDARD 11) add_executable(my_project main.c) -target_link_libraries(my_project main raylib) +target_link_libraries(my_project raylib) ``` To build, use these commands: ```cmake