[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk
From: Patrick Spendrin <ps_ml () gmx ! de>
Date: 2009-10-01 0:01:19
Message-ID: 1254355279.162657.23327.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029891 by sengels:
fix linkage to CLucene on msvc
M +5 -0 services/storage/CMakeLists.txt
M +5 -0 strigibackend/CMakeLists.txt
--- trunk/KDE/kdebase/runtime/nepomuk/services/storage/CMakeLists.txt #1029890:1029891
@@ -20,6 +20,11 @@
if(CLucene_FOUND AND SopranoIndex_FOUND)
+ if(MSVC)
+ # add some define to link correctly against clucene
+ add_definitions(-Zc:wchar_t-)
+ endif(MSVC)
+
include_directories(${CLUCENE_INCLUDE_DIR} ${CLUCENE_LIBRARY_DIR})
set(storage_SRCS
--- trunk/KDE/kdebase/runtime/nepomuk/strigibackend/CMakeLists.txt #1029890:1029891
@@ -31,6 +31,11 @@
# CLucene requires exception support
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+if(MSVC)
+ # add some define to link correctly against clucene
+ add_definitions(-Zc:wchar_t-)
+endif(MSVC)
+
if(WIN32)
# this is needed to have mingw, cygwin and msvc libs installed in one directory
if(MSVC)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic