-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
On my node configuring an empty build directory with:
cmake -Dminimal=ON -Dasan=ON -Dbuiltin_lzma="ON" -Dbuiltin_zlib:BOOL="ON" -Droottest="ON" -Dtesting="ON" -Dwebgui="OFF" ~/root_working/code/quick-devel
fails with:
-- Building LLVM in 'Release' mode.
CMake Error at interpreter/llvm-project/llvm/lib/Support/CMakeLists.txt:303 (get_property):
The LOCATION property may not be read from target "ZLIB". Use the target
name directly with add_custom_command, or use the generator expression
$<TARGET_FILE>, as appropriate.
CMake Error at interpreter/llvm-project/llvm/lib/Support/CMakeLists.txt:306 (get_property):
The LOCATION property may not be read from target "ZLIB". Use the target
name directly with add_custom_command, or use the generator expression
$<TARGET_FILE>, as appropriate.
CMake Error at interpreter/llvm-project/llvm/lib/Support/CMakeLists.txt:308 (get_library_name):
get_library_name Function invoked with incorrect arguments for function
named: get_library_name
However doing the configuration in 2 stages:
cmake -Dminimal=ON -Dbuiltin_lzma="ON" -Dbuiltin_zlib:BOOL="ON" -Droottest="ON" -Dtesting="ON" -Dwebgui="OFF" ~/root_working/code/quick-devel/
cmake -Dasan=ON .
works fine (i.e. configuration succeeds).