summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2009-07-02 17:15:17 -0400
committerKohei Yoshida <kyoshida@novell.com>2009-07-02 17:15:17 -0400
commitdef72223007eaac295ff15e71ec2bf2ada9bab0e (patch)
tree9d0680c432555881f3d08dfc9e528266ce143e63
parent6ffaf0552f17ebc95a6451561824076cc4a29b37 (diff)
Added compiler defines to get it to build with UNO headers.
-rw-r--r--cmake/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 148fcc4..7f711f9 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.6)
project(DP_SOURCE_EXTENSION)
-include_directories(../inc)
+include_directories(../inc /usr/lib/ooo3/solver/inc /usr/lib/ooo3/solver/inc/offuh)
+add_definitions(-DUNX -DGCC -DLINUX -DCPPU_ENV=gcc4 -DHAVE_GCC_VISIBILITY_FEATURE)
add_library(test SHARED ../source/dpsource.cxx)
+