Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Aug 21, 2024
1 parent 38fb074 commit 1658179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
echo on

move %LIBRARY_BIN%\cmake.exe %LIBRARY_BIN%\cmake-19.exe
move %BUILD_PREFIX%\Library\bin\cmake.exe %BUILD_PREFIX%\Library\bin\cmake-19.exe
REM forwarder just calls the versioned binary; needs to be compiled
REM to be usable without extra ceremony; the forwarder constructs the
REM call based on its own filename, so we only need to compile it once
Expand All @@ -10,7 +10,7 @@ sed -i "s/{{ majorversion }}/%PKG_VERSION:~0,2%/g" .\win_forwarder.c
%CC% .\win_forwarder.c
type .\win_forwarder.c

copy .\win_forwarder.exe %LIBRARY_BIN%\cmake.exe
copy .\win_forwarder.exe %BUILD_PREFIX%\Library\bin\cmake.exe

mkdir build
cd build
Expand Down
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ requirements:
- cmake
- ninja
- python >=3
- m2-sed # [win]
- libcxx {{ cxx_compiler_version }} # [osx]
host:
- libcxx {{ cxx_compiler_version }} # [osx]
Expand Down

0 comments on commit 1658179

Please sign in to comment.