zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 97cca1376aa5d5ed6ae699cc67b3c5e4b97f11bf (tree)
parent 0240fd91401c8a20064da0efd5b1e8955e481f1b
Author: Michael Dusan <michael.dusan@gmail.com>
Date:   Fri, 17 Jan 2020 00:35:34 -0500

cmake: fix install lib path message

Diffstat:
MCMakeLists.txt | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -609,12 +609,12 @@ else() endif() set(BUILD_LIBUSERLAND_COMMAND zig0 build - --override-lib-dir "${CMAKE_SOURCE_DIR}/lib" - "-Doutput-dir=${CMAKE_BINARY_DIR}" - "-Drelease=${LIBUSERLAND_RELEASE_MODE}" - "-Dlib-files-only" - --prefix "${CMAKE_INSTALL_PREFIX}" - libuserland + --override-lib-dir "${CMAKE_SOURCE_DIR}/lib" + "-Doutput-dir=${CMAKE_BINARY_DIR}" + "-Drelease=${LIBUSERLAND_RELEASE_MODE}" + "-Dlib-files-only" + --prefix "${CMAKE_INSTALL_PREFIX}" + libuserland ) # When using Visual Studio build system generator we default to libuserland install. @@ -647,6 +647,6 @@ add_dependencies(zig zig_build_libuserland) install(TARGETS zig DESTINATION bin) -# CODE has no effect with Visual Studio build system generator -install(CODE "message(\"-- Installing: /opt/zig/lib\")") +# CODE has no effect with Visual Studio build system generator. +install(CODE "message(\"-- Installing: ${CMAKE_INSTALL_PREFIX}/lib\")") install(CODE "execute_process(COMMAND ${BUILD_LIBUSERLAND_COMMAND} install)")