mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-02 23:20:20 +00:00
cmake: deal with occasional build order issue
I only ran into this a couple of times and can't figure out why it picked the order in which it tried to build things - but hard coding the dependency seems to have fixed it (then again, since I didn't always run into this, I'm not sure). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3f5396efdd
commit
12dac214aa
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,7 @@ elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
||||||
|
|
||||||
if(FBSUPPORT)
|
if(FBSUPPORT)
|
||||||
set(FACEBOOK_INTEGRATION facebook_integration)
|
set(FACEBOOK_INTEGRATION facebook_integration)
|
||||||
|
add_dependencies(facebook_integration subsurface_generated_ui)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${SUBSURFACE_TARGET}
|
${SUBSURFACE_TARGET}
|
||||||
|
@ -314,6 +315,7 @@ elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
||||||
subsurface_corelib
|
subsurface_corelib
|
||||||
${SUBSURFACE_LINK_LIBRARIES}
|
${SUBSURFACE_LINK_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
add_dependencies(subsurface_desktop_preferences subsurface_generated_ui)
|
||||||
add_dependencies(subsurface_statistics subsurface_generated_ui)
|
add_dependencies(subsurface_statistics subsurface_generated_ui)
|
||||||
add_dependencies(subsurface_interface subsurface_generated_ui)
|
add_dependencies(subsurface_interface subsurface_generated_ui)
|
||||||
add_dependencies(subsurface_profile subsurface_generated_ui)
|
add_dependencies(subsurface_profile subsurface_generated_ui)
|
||||||
|
|
Loading…
Reference in a new issue