Skip to content

Commit

Permalink
drop unused LIBRARY_LIB, LIBRARY_INC; slight tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Sep 26, 2024
1 parent a1c90f2 commit f1cf0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 2 additions & 7 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,5 @@ if not "%GIT_DESCRIBE_NUMBER%"=="0" (
cmake "%RECIPE_DIR%\.." -G "NMake Makefiles" -DPython_ROOT_DIR="%BUILD_PREFIX%" -DPython_FIND_STRATEGY=LOCATION -DPython_FIND_REGISTRY=NEVER -DPython_FIND_VIRTUALENV=ONLY ^
-DCONDA_BUILD=ON ^
-DCMAKE_BUILD_TYPE=RelWithDebInfo ^
-DLIBRARY_LIB=%CONDA_PREFIX%\lib ^
-DLIBRARY_INC=%CONDA_PREFIX% ^
-DCMAKE_INSTALL_PREFIX=%PREFIX%
if errorlevel 1 exit 1

cmake --build . --target install --config RelWithDebInfo
if errorlevel 1 exit 1
-DCMAKE_INSTALL_PREFIX=%PREFIX% || exit 1
cmake --build . --target install --config RelWithDebInfo || exit 1
2 changes: 0 additions & 2 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ fi
cmake ${RECIPE_DIR}/../ $extra_args \
-DCONDA_BUILD=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLIBRARY_LIB=$CONDA_PREFIX/lib \
-DLIBRARY_INC=$CONDA_PREFIX/include \
-DCMAKE_INSTALL_PREFIX=$PREFIX
cmake --build . --target install

0 comments on commit f1cf0bd

Please sign in to comment.