-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from MRNIU/main
fix #18
- Loading branch information
Showing
8 changed files
with
53 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,17 +70,6 @@ if (Eigen_ADDED) | |
target_include_directories(Eigen INTERFACE ${Eigen_SOURCE_DIR}) | ||
endif () | ||
|
||
# https://www.glfw.org | ||
CPMAddPackage( | ||
NAME GLFW | ||
GITHUB_REPOSITORY glfw/glfw | ||
GIT_TAG 3.3.8 | ||
OPTIONS | ||
"GLFW_BUILD_TESTS OFF" | ||
"GLFW_BUILD_EXAMPLES OFF" | ||
"GLFW_BULID_DOCS OFF" | ||
) | ||
|
||
# https://github.com/TheLartians/PackageProject.cmake | ||
CPMAddPackage("gh:TheLartians/[email protected]") | ||
|
||
|
@@ -223,6 +212,11 @@ endif () | |
find_package(glm REQUIRED) | ||
if (NOT glm_FOUND) | ||
message(FATAL_ERROR "glm not found.\n" | ||
"Following https://vtk.org/ to install.") | ||
"Following https://github.com/g-truc/glm to install.") | ||
endif () | ||
|
||
find_package(glfw3 REQUIRED) | ||
if (NOT glfw3_FOUND) | ||
message(FATAL_ERROR "glfw3 not found.\n" | ||
"Following https://www.glfw.org to install.") | ||
endif () | ||
# target_link_libraries(<your executable> glm::glm) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
|
||
ubuntu | ||
```shell | ||
sudo apt install -y doxygen graphviz clang-format clang-tidy cppcheck lcov gcc g++ libspdlog-dev libcgal-dev freeglut3-dev libboost-all-dev libvtk9-dev qtbase5-dev xorg-dev libglu1-mesa-dev libglm-dev | ||
sudo apt install -y doxygen graphviz clang-format clang-tidy cppcheck lcov gcc g++ libspdlog-dev libcgal-dev freeglut3-dev libboost-all-dev libvtk9-dev qtbase5-dev xorg-dev libglu1-mesa-dev libglm-dev libglfw3-dev | ||
``` | ||
|
||
osx | ||
```shell | ||
brew install doxygen graphviz llvm cppcheck lcov spdlog freeglut boost glfw vtk cgal glm | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters