[CMake] Move BUG_REPORT_URL from clang to llvm.
It was too late to set BUG_REPORT_URL after configure_file(config.h). BUG_REPORT_URL in config.h.cmake would be updated at 2nd run of cmake. It caused many recompilations. FYI, configure handles BUG_REPORT_URL in llvm side. llvm-svn: 199076
This commit is contained in:
parent
b353c3f7f2
commit
f0a1ab8f2a
|
|
@ -451,8 +451,5 @@ if( CLANG_BUILT_STANDALONE AND MSVC_VERSION EQUAL 1600 )
|
|||
endif()
|
||||
endif()
|
||||
|
||||
set(BUG_REPORT_URL "http://llvm.org/bugs/" CACHE STRING
|
||||
"Default URL where bug reports are to be submitted.")
|
||||
|
||||
set(CLANG_ORDER_FILE "" CACHE FILEPATH
|
||||
"Order file to use when compiling clang in order to improve startup time.")
|
||||
|
|
|
|||
|
|
@ -37,6 +37,9 @@ set(PACKAGE_NAME LLVM)
|
|||
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
|
||||
set(PACKAGE_BUGREPORT "http://llvm.org/bugs/")
|
||||
|
||||
set(BUG_REPORT_URL "${PACKAGE_BUGREPORT}" CACHE STRING
|
||||
"Default URL where bug reports are to be submitted.")
|
||||
|
||||
# Configure CPack.
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "LLVM")
|
||||
set(CPACK_PACKAGE_VENDOR "LLVM")
|
||||
|
|
|
|||
Loading…
Reference in New Issue