mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
7632a5abd4
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6441 8ced0084-cf51-0410-be5f-012b33b47a6e
11 lines
237 B
CMake
11 lines
237 B
CMake
set(SRCS clrun/clrun.c
|
|
clrun/dynamiclib.c
|
|
clrun/gencl.c
|
|
clrun/genclgl.c)
|
|
|
|
add_library(clrun STATIC ${SRCS})
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
add_definitions(-fPIC)
|
|
target_link_libraries(clrun ${CMAKE_DL_LIBS})
|
|
endif()
|