Skip to content

Commit

Permalink
fix cmake path
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsg committed Jul 9, 2024
1 parent 7f01457 commit 58506ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ FOR %%P IN (3.8, 3.9, 3.10, 3.11, 3.12) DO (
mkdir build
cd build

echo "Running cmake at !TARGET!\Scripts\cmake with Generator: %CMAKE_GENERATOR%, Platform: x64, Install Prefix: %CRC32C_INSTALL_PREFIX%"
echo "Running cmake at !TARGET!\bin\cmake with Generator: %CMAKE_GENERATOR%, Platform: x64, Install Prefix: %CRC32C_INSTALL_PREFIX%"

!TARGET!\Scripts\cmake -G %CMAKE_GENERATOR% -A x64 -DCRC32C_BUILD_BENCHMARKS=no -DCRC32C_BUILD_TESTS=no -DBUILD_SHARED_LIBS=yes -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=yes -DCRC32C_USE_GLOG=0 -DCMAKE_INSTALL_PREFIX:PATH=%CRC32C_INSTALL_PREFIX% ..
!TARGET!\bin\cmake -G %CMAKE_GENERATOR% -A x64 -DCRC32C_BUILD_BENCHMARKS=no -DCRC32C_BUILD_TESTS=no -DBUILD_SHARED_LIBS=yes -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=yes -DCRC32C_USE_GLOG=0 -DCMAKE_INSTALL_PREFIX:PATH=%CRC32C_INSTALL_PREFIX% ..

!TARGET!\Scripts\cmake --build . --config "%CONFIGURATION%" --target install
!TARGET!\bin\cmake --build . --config "%CONFIGURATION%" --target install

dir %CRC32C_INSTALL_PREFIX% /b /s
popd
Expand Down

0 comments on commit 58506ff

Please sign in to comment.