Build fix for linux. svnrev.h was not found when compiling OCLTextureDecoder.cpp as that include directory was only used in Core/Common.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6610 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-12-19 14:02:43 +00:00
parent 0b72d34f6d
commit d1631bec3f
2 changed files with 2 additions and 2 deletions

View File

@ -343,6 +343,8 @@ endif(NOT DISABLE_WX)
# #
file(WRITE ${PROJECT_BINARY_DIR}/Source/Core/Common/Src/svnrev.h file(WRITE ${PROJECT_BINARY_DIR}/Source/Core/Common/Src/svnrev.h
"#define SVN_REV_STR \"" ${DOLPHIN_WC_REVISION} "-" ${CMAKE_BUILD_TYPE} "\"\n") "#define SVN_REV_STR \"" ${DOLPHIN_WC_REVISION} "-" ${CMAKE_BUILD_TYPE} "\"\n")
include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src")
######################################## ########################################
# Start compiling our code # Start compiling our code

View File

@ -39,8 +39,6 @@ if(WIN32)
set(SRCS ${SRCS} Src/ExtendedTrace.cpp Src/stdafx.cpp) set(SRCS ${SRCS} Src/ExtendedTrace.cpp Src/stdafx.cpp)
endif(WIN32) endif(WIN32)
include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src")
add_library(common STATIC ${SRCS}) add_library(common STATIC ${SRCS})
target_link_libraries(common ${CMAKE_DL_LIBS}) target_link_libraries(common ${CMAKE_DL_LIBS})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")