Commit d894907e authored by Christian Ehrlicher's avatar Christian Ehrlicher
Browse files

fix build order with cmake 2.6

we have to make sure that settings.h is created before it's included somewhere

CCMAIL: neundorf@kde.org

svn path=/trunk/KDE/kdegames/ksudoku/; revision=793349
parent 9114c7cd
......@@ -18,8 +18,6 @@ kde4_add_ui_files(ksudoku_SRCS welcomescreen.ui configgame.ui)
kde4_add_kcfg_files(ksudoku_SRCS settings.kcfgc )
kde4_add_library(ksudoku_gui ${ksudoku_SRCS})
#constrains on build order:
#ADD_DEPENDENCIES(ksudoku_gui ksudoku_views ksudoku_export)
########### next target ###############
......
......@@ -10,4 +10,6 @@ set(ksudoku_views_SRCS
)
kde4_add_library(ksudoku_views ${ksudoku_views_SRCS})
# make sure settings.h is available (created in ksudoku_gui)
add_dependencies(ksudoku_views ksudoku_gui)
......@@ -10,3 +10,5 @@ set(ksudoku_SRCS
)
kde4_add_library(ksudoku_logic ${ksudoku_SRCS})
# make sure settings.h is available (created in ksudoku_gui)
add_dependencies(ksudoku_logic ksudoku_gui)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment