configure SFML for clion (windows)

前端 未结 3 527
-上瘾入骨i
-上瘾入骨i 2021-01-03 09:31

i am setting up a work environment for a school project on my windows computer. We are going to make a basic game using c++ and CLion. To make a game i need to use the SFML

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-03 10:14

    I believe you are missing the link_directories() call. You can use it like this:

    link_directories("C:/Path_To_Library")
    

    This should help solve your issue.

提交回复
热议问题