2013-12-10 13:41:43 -05:00
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
project (MCServer)
|
|
|
|
|
|
|
|
include_directories ("${PROJECT_SOURCE_DIR}/../")
|
2013-12-10 17:43:21 -05:00
|
|
|
file(GLOB SOURCE
|
|
|
|
"*.cpp"
|
|
|
|
)
|
2013-12-10 13:41:43 -05:00
|
|
|
|
2013-12-10 16:39:20 -05:00
|
|
|
add_library(OSSupport ${SOURCE})
|
2013-12-18 19:15:30 -05:00
|
|
|
|
|
|
|
if(UNIX)
|
|
|
|
target_link_libraries(OSSupport pthread)
|
|
|
|
endif()
|