Skip to content

Commit a42fd90

Browse files
committed
Fix ystdlib-specific issue related to how ystdlib config scripts are written.
1 parent 48ab8b2 commit a42fd90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/core/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ endif()
140140

141141
find_package(Threads REQUIRED)
142142

143+
# Temporarily find ystdlib unconditionally, since the global include guards in ystdlib's cmake
144+
# config files prevent clp_find_ystdlib() from correctly resolving ystdlib when called from multiple
145+
# different scopes.
146+
clp_find_ystdlib()
147+
143148
add_subdirectory(src/clp/regex_utils)
144149
add_subdirectory(src/clp/string_utils)
145150

0 commit comments

Comments
 (0)