mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
CMake: doing proper string comparison in IF clause
This commit is contained in:
parent
50538b4831
commit
bbeee00b6b
@ -83,7 +83,7 @@ MATH(EXPR _range "${_list_len}-1")
|
|||||||
FOREACH(_p RANGE ${_range})
|
FOREACH(_p RANGE ${_range})
|
||||||
LIST(GET _PREREQ ${_p} _pkg )
|
LIST(GET _PREREQ ${_p} _pkg )
|
||||||
LIST(GET _PREREQ_CONFIG_DIR ${_p} _pkg_dir)
|
LIST(GET _PREREQ_CONFIG_DIR ${_p} _pkg_dir)
|
||||||
IF(_pkg_dir)
|
IF(NOT _pkg_dir STREQUAL "")
|
||||||
MESSAGE(STATUS "===> Reloading targets from ${_pkg} ...")
|
MESSAGE(STATUS "===> Reloading targets from ${_pkg} ...")
|
||||||
FIND_PACKAGE(${_pkg} REQUIRED NO_MODULE
|
FIND_PACKAGE(${_pkg} REQUIRED NO_MODULE
|
||||||
PATHS "${_pkg_dir}"
|
PATHS "${_pkg_dir}"
|
||||||
|
Loading…
Reference in New Issue
Block a user