mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-20 01:09:55 +00:00
Fix some linkage issues with the cmake build. This should fix issue 3596.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6497 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8d123adf64
commit
eda716b164
4 changed files with 4 additions and 7 deletions
|
@ -42,6 +42,7 @@ 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")
|
||||
add_definitions(-fPIC)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue