mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
remove main from target_link_libraries, since we dont want to link a library called main with my_project
@ -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
|
||||
|
||||
Reference in New Issue
Block a user