Skip to content

Commit b815717

Browse files
committed
issue #11237 Xcode project generation failing
1 parent ef6c679 commit b815717

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ if(enable_coverage)
199199
endif()
200200

201201
add_library(doxycfg STATIC
202-
${GENERATED_SRC}/configvalues.h
203202
${GENERATED_SRC}/configimpl.cpp
204203
${GENERATED_SRC}/configimpl.l.h
205204
${GENERATED_SRC}/configoptions.cpp
@@ -211,6 +210,8 @@ add_library(doxycfg STATIC
211210
debug.cpp
212211
trace.cpp
213212
)
213+
add_dependencies(doxycfg generate_configvalues_header)
214+
214215
target_link_libraries(doxycfg PRIVATE
215216
spdlog::spdlog
216217
)
@@ -223,7 +224,6 @@ add_library(doxymain STATIC
223224
#
224225
${GENERATED_SRC}/ce_parse.cpp
225226
# custom generated files
226-
${GENERATED_SRC}/configvalues.h
227227
${GENERATED_SRC}/ce_parse.h
228228
${GENERATED_SRC}/resources.cpp
229229
#
@@ -328,6 +328,7 @@ target_link_libraries(doxymain PRIVATE
328328
spdlog::spdlog
329329
)
330330
add_sanitizers(doxymain)
331+
add_dependencies(doxymain generate_configvalues_header)
331332

332333
# LLVM/clang headers give a lot of warnings with -Wshadow and -Wcast-align so we disable them for
333334
# the one file that includes them.

0 commit comments

Comments
 (0)