Skip to content

Commit 702fabe

Browse files
committed
Remove robin_hood from CMake install
1 parent 2c7881d commit 702fabe

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

NoiseTool/CMakeLists.txt

+7-4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ CPMAddPackage(
4343
NAME imgui
4444
GITHUB_REPOSITORY ocornut/imgui
4545
GIT_TAG 7bfc379a23e97b6777eb80aafb50a8e6248904cd
46+
EXCLUDE_FROM_ALL YES
4647
)
4748
# Set dir for find_package(ImGui)
4849
set(IMGUI_DIR ${imgui_SOURCE_DIR})
@@ -62,12 +63,14 @@ CPMAddPackage(
6263
NAME imnodes
6364
GITHUB_REPOSITORY Auburn/imnodes
6465
GIT_TAG a295b4af69045645d657363d5d135e2d8a3785f6
66+
EXCLUDE_FROM_ALL YES
6567
)
6668

6769
CPMAddPackage(
6870
NAME robinhoodhashing
6971
GITHUB_REPOSITORY martinus/robin-hood-hashing
70-
GIT_TAG 3.11.3
72+
GIT_TAG 3.11.3
73+
EXCLUDE_FROM_ALL YES
7174
)
7275

7376
# Use modules from magnum-integration since it has everything we need
@@ -100,10 +103,9 @@ add_executable(NoiseTool
100103
${NoiseTool_RESOURCES}
101104
)
102105

103-
# Include imnodes & rhh in NoiseTool project since setting up separate cmake library with imgui dependancy was causing issues
106+
# Include imnodes in NoiseTool project since setting up separate cmake library with imgui dependancy was causing issues
104107
target_include_directories(NoiseTool PRIVATE
105-
"${imnodes_SOURCE_DIR}"
106-
"${robinhoodhashing_SOURCE_DIR}/src/include")
108+
"${imnodes_SOURCE_DIR}")
107109

108110
target_link_libraries(NoiseTool PRIVATE
109111
FastNoise
@@ -112,6 +114,7 @@ target_link_libraries(NoiseTool PRIVATE
112114
Magnum::SceneGraph
113115
MagnumIntegration::ImGui
114116
ImGui::SourcesMiscCpp
117+
robin_hood
115118
)
116119

117120
# Windows HiDPI support

0 commit comments

Comments
 (0)