Skip to content

Commit

Permalink
Fixed|CMake: libgui is dependent on Assimp
Browse files Browse the repository at this point in the history
This will ensure that Assimp is fully built before libgui. CMake doesn't
see this dependency automatically because of the "libassimp" interface
target, which uses the "assimp" target's output files but can't as such
be declared to be dependent on it.
  • Loading branch information
skyjake committed May 31, 2015
1 parent c351b0d commit 40e6c07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/sdk/libgui/CMakeLists.txt
Expand Up @@ -83,4 +83,9 @@ endif ()

deng_deploy_library (libgui DengGui)

# If Assimp is part of the build, ensure that it gets compiled before libgui.
if (TARGET assimp)
add_dependencies (libgui assimp)
endif ()

deng_cotire (libgui src/precompiled.h)

0 comments on commit 40e6c07

Please sign in to comment.