remove main from target_link_libraries, since we dont want to link a library called main with my_project

Andreas Stallinger
2020-07-11 23:33:49 +02:00
parent f3830d9f0d
commit bb37af968c

@ -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