dolphin/Externals/CLRun/CMakeLists.txt

10 lines
213 B
CMake
Raw Normal View History

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")
target_link_libraries(clrun ${CMAKE_DL_LIBS})
endif()