aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-12-01 21:15:50 +0200
committerRiccardo Spagni <ric@spagni.net>2014-12-01 21:15:50 +0200
commitaffde29754c2e2309bec3394c4271c56e3bce18e (patch)
tree36f5f1191cb2ee7a18e7411880c09894709864fa /CMakeLists.txt
parentMerge pull request #1 (diff)
downloadmonero-affde29754c2e2309bec3394c4271c56e3bce18e.tar.xz
moved rapidjson to external folder, fixed CMake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e994698b1..0e5dfce75 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,7 +83,6 @@ endif()
# set(BSDI TRUE)
include_directories(src contrib/epee/include external "${CMAKE_BINARY_DIR}/version")
-include_directories(src/common)
if(APPLE)
include_directories(SYSTEM /usr/include/malloc)
@@ -136,6 +135,9 @@ endif()
include_directories(${UNBOUND_INCLUDE})
link_directories(${UNBOUND_LIBRARY_DIRS})
+# Final setup for rapidjson
+include_directories(external/rapidjson)
+
if(MSVC)
add_definitions("/bigobj /MP /W3 /GS- /D_CRT_SECURE_NO_WARNINGS /wd4996 /wd4345 /D_WIN32_WINNT=0x0600 /DWIN32_LEAN_AND_MEAN /DGTEST_HAS_TR1_TUPLE=0 /FIinline_c.h /D__SSE4_1__")
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Dinline=__inline")