Fix cmake #7

Merged
williamistGitHub merged 4 commits from fix-cmake into main 2024-10-18 22:58:58 +00:00
williamistGitHub commented 2024-10-18 21:20:50 +00:00 (Migrated from github.com)

The CMake build errored, and upon fixing that, running it from Visual Studio didn't use the right working directory. This pull request fixes both of those things.

The CMake build errored, and upon fixing that, running it from Visual Studio didn't use the right working directory. This pull request fixes both of those things.
FoxMoss commented 2024-10-18 22:01:34 +00:00 (Migrated from github.com)

This breaks on Linux, the Debian glfw3 package has the binary as just libglfw. Consider creating separate target_link_libraries statements for each OS?

Also I'm now breaking on Planet.h:28

	static const unsigned int chunkSize = 32;

which gives me some cryptic linker error.

This breaks on Linux, the Debian glfw3 package has the binary as just libglfw. Consider creating separate target_link_libraries statements for each OS? Also I'm now breaking on Planet.h:28 ```c++ static const unsigned int chunkSize = 32; ``` which gives me some cryptic linker error.
williamistGitHub commented 2024-10-18 22:25:37 +00:00 (Migrated from github.com)

Both of those should be fixed, I was able to compile it on Debian WSL.

Both of those should be fixed, I was able to compile it on Debian WSL.
FoxMoss commented 2024-10-18 22:30:15 +00:00 (Migrated from github.com)

LGTM

LGTM
tsny-houzz (Migrated from github.com) approved these changes 2024-10-18 22:55:47 +00:00
Sign in to join this conversation.
No description provided.