Salome HOME
projects
/
samples
/
hello.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc49e0
)
CMake: doing proper string comparison in IF clause
author
mpa
<mpa@opencascade.com>
Wed, 23 Oct 2013 10:16:27 +0000
(10:16 +0000)
committer
mpa
<mpa@opencascade.com>
Wed, 23 Oct 2013 10:16:27 +0000
(10:16 +0000)
SalomeHELLOConfig.cmake.in
patch
|
blob
|
history
diff --git
a/SalomeHELLOConfig.cmake.in
b/SalomeHELLOConfig.cmake.in
index 7c77a1f09ab42e7875b09bbbc71cfafd3ee2a424..84ab531d5fd71cbdc85f27495b4ed449209e5021 100644
(file)
--- a/
SalomeHELLOConfig.cmake.in
+++ b/
SalomeHELLOConfig.cmake.in
@@
-66,7
+66,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}"