summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-04-18 20:27:42 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-04-18 20:27:42 (GMT)
commit603f4622bad15da3b800bab5277091904a47f972 (patch)
treed5d454b13515cdc1ff290a6d77736dde8c6f2d8f /Swiften/IDN/SConscript
parent2a1b34a623e6e4f28481400637a3a99d5f7adc53 (diff)
downloadswift-603f4622bad15da3b800bab5277091904a47f972.zip
swift-603f4622bad15da3b800bab5277091904a47f972.tar.bz2
Fix ICU compilation.
Change-Id: I87be125a96f3b9f6755c52c58ba02bb85d945bf9
Diffstat (limited to 'Swiften/IDN/SConscript')
-rw-r--r--Swiften/IDN/SConscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/Swiften/IDN/SConscript b/Swiften/IDN/SConscript
index 1011563..4f540cd 100644
--- a/Swiften/IDN/SConscript
+++ b/Swiften/IDN/SConscript
@@ -16,8 +16,10 @@ objects += myenv.SwiftenObject(["PlatformIDNConverter.cpp"])
swiften_env.Append(SWIFTEN_OBJECTS = [objects])
-#env.Append(UNITTEST_OBJECTS = myenv.SwiftenObject([
-# File("UnitTest/IDNATest.cpp"),
-#])
+test_env = myenv.Clone()
+test_env.UseFlags(swiften_env["CPPUNIT_FLAGS"])
+env.Append(UNITTEST_OBJECTS = test_env.SwiftenObject([
+ File("UnitTest/IDNConverterTest.cpp"),
+]))