mirror of
https://github.com/etlegacy/etlegacy-tools.git
synced 2024-11-22 03:51:25 +00:00
10 lines
No EOL
340 B
CMake
10 lines
No EOL
340 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(etlist)
|
|
|
|
# Dependencies
|
|
Find_Package(Boost REQUIRED COMPONENTS system program_options) # Specifying 'asio' doesn't work
|
|
Find_Package(Threads) # asio dependency
|
|
|
|
add_executable(etlist main.cpp connection.cpp etparser.cpp)
|
|
|
|
target_link_libraries(etlist ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) |