6 lines
226 B
Text
6 lines
226 B
Text
|
The package flang provides CMake targets:
|
||
|
|
||
|
find_package(Flang CONFIG REQUIRED)
|
||
|
target_include_directories(main PRIVATE ${FLANG_INCLUDE_DIRS})
|
||
|
target_link_libraries(main PRIVATE flangFrontend flangFrontendTool ...)
|