cmake_minimum_required(VERSION 3.9) project(BoostMultimapCrash CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package(Boost 1.66.0 REQUIRED) include_directories(${Boost_INCLUDE_DIRS}) add_executable(boost_multimap_test boost_multimap_test.cpp) target_link_libraries(boost_multimap_test ${Boost_LIBRARIES})