diff --git a/CMakeLists.txt b/CMakeLists.txt index 989150af51..7fede73154 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -343,6 +343,8 @@ endif(NOT DISABLE_WX) # file(WRITE ${PROJECT_BINARY_DIR}/Source/Core/Common/Src/svnrev.h "#define SVN_REV_STR \"" ${DOLPHIN_WC_REVISION} "-" ${CMAKE_BUILD_TYPE} "\"\n") +include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src") + ######################################## # Start compiling our code diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index d9fd43255f..61f6fded60 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -39,8 +39,6 @@ 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}) target_link_libraries(common ${CMAKE_DL_LIBS}) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")