1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-25 20:01:22 +00:00

set CXX standard for bba and remove boost lib (#1485)

This commit is contained in:
Miodrag Milanović
2025-05-14 13:42:47 +02:00
committed by GitHub
parent b127fa9c11
commit 0bbe031a4b

View File

@@ -1,15 +1,15 @@
cmake_minimum_required(VERSION 3.25)
project(bba CXX)
set(CMAKE_CXX_STANDARD 17)
find_package(Boost REQUIRED COMPONENTS
program_options
filesystem
system)
add_executable(bbasm
main.cc)
target_link_libraries(bbasm LINK_PRIVATE
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY})
export(TARGETS bbasm FILE ${CMAKE_BINARY_DIR}/bba-export.cmake)