Salome HOME
projects
/
plugins
/
ghs3dplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8735fd2
)
CMake: doing proper string comparison in IF clause
author
mpa
<mpa@opencascade.com>
Wed, 23 Oct 2013 10:15:44 +0000
(10:15 +0000)
committer
mpa
<mpa@opencascade.com>
Wed, 23 Oct 2013 10:15:44 +0000
(10:15 +0000)
SalomeGHS3DPLUGINConfig.cmake.in
patch
|
blob
|
history
diff --git
a/SalomeGHS3DPLUGINConfig.cmake.in
b/SalomeGHS3DPLUGINConfig.cmake.in
index b6e7c8ff49b0fde85f4ea1d8d0bc3c15ee2ac0b2..493e8d5e6c0d1d8f987d95131a4a3d287593fc21 100644
(file)
--- a/
SalomeGHS3DPLUGINConfig.cmake.in
+++ b/
SalomeGHS3DPLUGINConfig.cmake.in
@@
-69,7
+69,7
@@
MATH(EXPR _range "${_list_len}-1")
FOREACH(_p RANGE ${_range})
LIST(GET _PREREQ ${_p} _pkg )
LIST(GET _PREREQ_CONFIG_DIR ${_p} _pkg_dir)
- IF(
_pkg_dir
)
+ IF(
NOT _pkg_dir STREQUAL ""
)
MESSAGE(STATUS "===> Reloading targets from ${_pkg} ...")
FIND_PACKAGE(${_pkg} REQUIRED NO_MODULE
PATHS "${_pkg_dir}"