Skip to content

Commit

Permalink
fix usage of include dirs (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Aug 7, 2024
1 parent 68be252 commit cc966aa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions scripts/build_cosmo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ cmake \
-DLZMA_LIBRARY:FILEPATH=${DEPSDIR}/lib/liblzma.a \
-DBZIP2_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DBZIP2_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libbz2.a \
-DREADLINE_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/readline/readline.h \
-DREADLINE_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DREADLINE_LIBRARY:FILEPATH=${DEPSDIR}/lib/libreadline.a \
-DCURSES_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libncurses.a \
-DPANEL_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libpanel.a \
-DGDBM_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/gdbm.h \
-DGDBM_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DGDBM_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm.a \
-DGDBM_COMPAT_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm_compat.a \
-DNDBM_TAG=NDBM \
Expand Down
8 changes: 4 additions & 4 deletions scripts/build_freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -388,18 +388,18 @@ cmake \
-DBZIP2_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libbz2.a \
-DLibFFI_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DLibFFI_LIBRARY:FILEPATH=${DEPSDIR}/lib/libffi.so \
-DREADLINE_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/readline/readline.h \
-DREADLINE_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DREADLINE_LIBRARY:FILEPATH=${DEPSDIR}/lib/libreadline.so \
-DCURSES_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libncurses.so \
-DPANEL_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libpanel.so \
-DGDBM_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/gdbm.h \
-DGDBM_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DGDBM_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm.so \
-DGDBM_COMPAT_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm_compat.so \
-DNDBM_TAG=NDBM \
-DNDBM_USE=NDBM \
-DTK_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/tk.h \
-DTK_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DTK_LIBRARY:FILEPATH=${DEPSDIR}/lib/libtk8.6.so \
-DTCL_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/tcl.h \
-DTCL_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DTCL_LIBRARY:FILEPATH=${DEPSDIR}/lib/libtcl8.6.so \
-DX11_INCLUDE_DIR:PATH=${DEPSDIR}/include/X11 \
-DX11_LIBRARIES="${DEPSDIR}/lib/libXau.so;${DEPSDIR}/lib/libXdmcp.so;${DEPSDIR}/lib/libX11.so;${DEPSDIR}/lib/libXext.so;${DEPSDIR}/lib/libICE.so;${DEPSDIR}/lib/libSM.so;${DEPSDIR}/lib/libXrender.so;${DEPSDIR}/lib/libXft.so;${DEPSDIR}/lib/libXss.so;${DEPSDIR}/lib/libxcb.so" \
Expand Down
8 changes: 4 additions & 4 deletions scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -528,19 +528,19 @@ LDFLAGS="${LDFLAGS} -lfontconfig -lfreetype" cmake \
-DBZIP2_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libbz2.a \
-DLibFFI_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DLibFFI_LIBRARY:FILEPATH=${DEPSDIR}/lib/libffi.a \
-DREADLINE_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/readline/readline.h \
-DREADLINE_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DREADLINE_LIBRARY:FILEPATH=${DEPSDIR}/lib/libreadline.a \
-DUUID_LIBRARY:FILEPATH=${DEPSDIR}/lib/libuuid.a \
-DCURSES_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libncurses.a \
-DPANEL_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libpanel.a \
-DGDBM_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/gdbm.h \
-DGDBM_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DGDBM_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm.a \
-DGDBM_COMPAT_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm_compat.a \
-DNDBM_TAG=NDBM \
-DNDBM_USE=NDBM \
-DTK_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/tk.h \
-DTK_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DTK_LIBRARY:FILEPATH=${DEPSDIR}/lib/libtk8.6.a \
-DTCL_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/tcl.h \
-DTCL_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DTCL_LIBRARY:FILEPATH=${DEPSDIR}/lib/libtcl8.6.a \
-DX11_INCLUDE_DIR:PATH=${DEPSDIR}/include/X11 \
-DX11_LIBRARIES="${DEPSDIR}/lib/libXau.a;${DEPSDIR}/lib/libXdmcp.a;${DEPSDIR}/lib/libX11.a;${DEPSDIR}/lib/libXext.a;${DEPSDIR}/lib/libICE.a;${DEPSDIR}/lib/libSM.a;${DEPSDIR}/lib/libXrender.a;${DEPSDIR}/lib/libXft.a;${DEPSDIR}/lib/libXss.a;${DEPSDIR}/lib/libxcb.a" \
Expand Down
8 changes: 4 additions & 4 deletions scripts/build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,19 +297,19 @@ cmake \
-DBZIP2_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libbz2.a \
-DLibFFI_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DLibFFI_LIBRARY:FILEPATH=${DEPSDIR}/lib/libffi.a \
-DREADLINE_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/readline/readline.h \
-DREADLINE_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DREADLINE_LIBRARY:FILEPATH=${DEPSDIR}/lib/libreadline.a \
-DUUID_LIBRARY:FILEPATH=${DEPSDIR}/lib/libuuid.a \
-DCURSES_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libncurses.a \
-DPANEL_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libpanel.a \
-DGDBM_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/gdbm.h \
-DGDBM_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DGDBM_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm.a \
-DGDBM_COMPAT_LIBRARY:FILEPATH=${DEPSDIR}/lib/libgdbm_compat.a \
-DNDBM_TAG=NDBM \
-DNDBM_USE=NDBM \
-DTK_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/tk.h \
-DTK_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DTK_LIBRARY:FILEPATH=${DEPSDIR}/lib/libtk8.6.a \
-DTCL_INCLUDE_PATH:FILEPATH=${DEPSDIR}/include/tcl.h \
-DTCL_INCLUDE_PATH:PATH=${DEPSDIR}/include \
-DTCL_LIBRARY:FILEPATH=${DEPSDIR}/lib/libtcl8.6.a \
../portable-python-cmake-buildsystem
make -j${NPROC}
Expand Down

0 comments on commit cc966aa

Please sign in to comment.