summaryrefslogtreecommitdiff
path: root/src/coreclr/hosts/unixcoreruncommon/CMakeLists.txt
blob: 93a5bbf9ff0f0fa9c1c38691ed4a1c033b23d5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
project(unixcoreruncommon)

add_compile_options(-fPIC)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

include(configure.cmake)

_add_library(unixcoreruncommon
    STATIC
    coreruncommon.cpp
)

if(CLR_CMAKE_PLATFORM_LINUX)
  target_link_libraries(unixcoreruncommon dl)
endif(CLR_CMAKE_PLATFORM_LINUX)