mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-30 10:49:18 -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)
|
add_executable(my_project main.c)
|
||||||
|
|
||||||
target_link_libraries(my_project main raylib)
|
target_link_libraries(my_project raylib)
|
||||||
```
|
```
|
||||||
To build, use these commands:
|
To build, use these commands:
|
||||||
```cmake
|
```cmake
|
||||||
|
|||||||
Reference in New Issue
Block a user