Skip to content

Commit abffe37

Browse files
committed
fix(cli): configure standalone dependencies in order
1 parent 1d07352 commit abffe37

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@ else()
135135
if (_LOCAL_LAYOUT_OK)
136136
message(STATUS "[cli] Building inside Vix repo -> resolving local sibling modules")
137137

138-
if (EXISTS "${_VIX_CORE_DIR}/CMakeLists.txt" AND NOT TARGET vix::core)
139-
add_subdirectory("${_VIX_CORE_DIR}" "${CMAKE_BINARY_DIR}/_vix_core")
140-
endif()
141-
142138
if (EXISTS "${_VIX_UTILS_DIR}/CMakeLists.txt" AND NOT TARGET vix::utils)
143139
add_subdirectory("${_VIX_UTILS_DIR}" "${CMAKE_BINARY_DIR}/_vix_utils")
144140
endif()
@@ -159,6 +155,10 @@ else()
159155
add_subdirectory("${_VIX_TEMPLATE_DIR}" "${CMAKE_BINARY_DIR}/_vix_template")
160156
endif()
161157

158+
if (EXISTS "${_VIX_CORE_DIR}/CMakeLists.txt" AND NOT TARGET vix::core)
159+
add_subdirectory("${_VIX_CORE_DIR}" "${CMAKE_BINARY_DIR}/_vix_core")
160+
endif()
161+
162162
if (EXISTS "${_VIX_NET_DIR}/CMakeLists.txt" AND NOT TARGET vix::net)
163163
add_subdirectory("${_VIX_NET_DIR}" "${CMAKE_BINARY_DIR}/_vix_net")
164164
endif()

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ cmake --build build -j$(nproc)
9090

9191
- Documentation: https://docs.vixcpp.com/
9292
- CLI documentation: https://docs.vixcpp.com/cli/
93+
- Engineering notes: https://blog.vixcpp.com/
9394
- Registry: https://registry.vixcpp.com/
9495
- GitHub: https://github.com/vixcpp/vix
9596

0 commit comments

Comments
 (0)