mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 09:08:08 +08:00
9 lines
280 B
CMake
9 lines
280 B
CMake
![]() |
find_package(Boost 1.81.0)
|
||
|
|
||
|
if(Boost_FOUND)
|
||
|
add_executable(container container.cpp)
|
||
|
target_link_libraries(container PRIVATE toml11::toml11 Boost::boost)
|
||
|
set_target_properties(container PROPERTIES
|
||
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
|
||
|
endif()
|