mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: better handling of versioned cmake libraries
- sentinel was not working properly when building user-space routines
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source CMake functions
|
||||
. $WM_PROJECT_DIR/wmake/scripts/cmakeFunctions
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/wmake/scripts/cmakeFunctions # The CMake functions
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -23,7 +21,7 @@ if [ -n "$depend" ]
|
||||
then
|
||||
if [ "$targetType" != objects ]
|
||||
then
|
||||
if type cmake > /dev/null 2>&1
|
||||
if command -v cmake > /dev/null 2>&1
|
||||
then
|
||||
cmakeVersioned "$depend" $PWD || {
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user