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

master
Andreas Stallinger před 5 roky
rodič
revize
bb37af968c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      Working-with-CMake.md

+ 1
- 1
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

Načítá se…
Zrušit
Uložit