[flang-commits] [PATCH] D84334: [flang] Version information in flang/f18

Steve Scalpone via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Aug 12 22:03:27 PDT 2020


sscalpone added a comment.

This worked for me:

  target_include_directories(f18
    PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
  )

And I got rid of the duplicate:

  set(include ${FLANG_BINARY_DIR}/include/flang)



================
Comment at: flang/tools/f18/CMakeLists.txt:82-83
 set(FLANG_INTRINSIC_MODULES_DIR ${CMAKE_INSTALL_PREFIX}/include/flang)
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/flang.sh.in ${FLANG_BINARY_DIR}/bin/flang-install.sh @ONLY)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/f18_version.h.in ${CMAKE_CURRENT_BINARY_DIR}/f18_version.h @ONLY)
 
----------------
Perhaps using FLANG_BINARY_DIR will fix the build?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84334/new/

https://reviews.llvm.org/D84334



More information about the flang-commits mailing list