summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-11-20 20:20:12 +0000
committerGlenn Rice <glennricster@gmail.com>2010-11-20 20:20:12 +0000
commit86dc8d09fe322755874f58bd454c5fca4abd4c94 (patch)
treebc7c08b94dcf969144de8a2a69be616980bda614 /Source/Core
parent7788bac40c9a422a1081913f83b9b0328eca121c (diff)
For the cmake write generate the svnrev.h file in the build directory instead of in the source so that a proper out-of-source build can be done. Fixes issue 3528.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6449 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt
index e1d9ed3889..0f5a216d5e 100644
--- a/Source/Core/Common/CMakeLists.txt
+++ b/Source/Core/Common/CMakeLists.txt
@@ -39,6 +39,8 @@ if(WIN32)
set(SRCS ${SRCS} Src/ExtendedTrace.cpp Src/stdafx.cpp)
endif(WIN32)
+include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src")
+
add_library(common STATIC ${SRCS})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_definitions(-fPIC)