Fix some CMake linker problems.

Commit bb1b4071a65159cdff43aa8e445c1370b5d8521c missed linker errors
when the tests were disabled, so fixed them now. Reported by Spoffy and
Ivanovic.
This commit is contained in:
Mark de Wever 2014-06-13 21:55:18 +02:00
parent 306bf0cce8
commit 3f3461edbd

View File

@ -1040,6 +1040,7 @@ if(ENABLE_GAME)
wesnoth-core
wesnoth-lua
wesnoth-game
wesnoth-sdl
)
endif(ENABLE_TESTS)