cmake_minimum_required(VERSION 2.8)

set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED OFF) 
set(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost 1.54.0 COMPONENTS program_options)

if(Boost_FOUND)
    include_directories(${Boost_INCLUDE_DIRS})
    add_executable(boost-program-options-hyphen-bug hyphen-bug.cpp)
    target_link_libraries(boost-program-options-hyphen-bug ${Boost_LIBRARIES})                                                                                                                                                                                                                            
endif()
