pthom / imgui_manual

https://pthom.github.io/imgui_manual_online - an interactive manual for ImGui
MIT License
304 stars 23 forks source link

Build error - cmake file command #2

Closed h1z1 closed 3 years ago

h1z1 commented 3 years ago

Curious what version this was introduced in cmake?

https://github.com/pthom/imgui_manual/blob/88e3434beece04de5479b4c13b4191d3788d8660/src/make_example_apps/CMakeLists.txt#L4

Results in a build error

CMake` Error at src/make_example_apps/CMakeLists.txt:4 (file):
  file does not recognize sub-command CREATE_LINK

That appears to be something completely different according to cmake v3 (doesn't exist at all for file)

pthom commented 3 years ago

Hi, thanks for letting me know. This was introduced in cmake 3.14. I just added this commit which requires version 3.14, as well as some corrections for windows compil.