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

master
Andreas Stallinger 5 년 전
부모
커밋
bb37af968c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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

불러오는 중...
취소
저장