2010-11-08 14:04:56 +00:00
|
|
|
set(SRCS clrun/clrun.c
|
|
|
|
clrun/dynamiclib.c
|
|
|
|
clrun/gencl.c
|
|
|
|
clrun/genclgl.c)
|
|
|
|
|
|
|
|
add_library(clrun STATIC ${SRCS})
|
2010-11-17 01:03:39 +00:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-11-18 23:27:27 +00:00
|
|
|
target_link_libraries(clrun ${CMAKE_DL_LIBS})
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|