| ... | @@ -1030,6 +1030,12 @@ elseif(MINGW) | ... | @@ -1030,6 +1030,12 @@ elseif(MINGW) |
| 1030 | target_link_libraries(zig2 ntdll) | 1030 | target_link_libraries(zig2 ntdll) |
| 1031 | endif() | 1031 | endif() |
| 1032 | | 1032 | |
| | 1033 | # Dummy install command so that the "install" target is not missing. |
| | 1034 | # This is redundant from the "stage3" custom target below. |
| | 1035 | if(NOT ZIG_SKIP_INSTALL_LIB_FILES) |
| | 1036 | install(FILES "lib/compiler_rt.zig" DESTINATION "lib/zig") |
| | 1037 | endif() |
| | 1038 | |
| 1033 | set(ZIG_INSTALL_ARGS "build" | 1039 | set(ZIG_INSTALL_ARGS "build" |
| 1034 | --zig-lib-dir "${CMAKE_SOURCE_DIR}/lib" | 1040 | --zig-lib-dir "${CMAKE_SOURCE_DIR}/lib" |
| 1035 | --prefix "${CMAKE_INSTALL_PREFIX}" | 1041 | --prefix "${CMAKE_INSTALL_PREFIX}" |