Salome HOME
projects
/
samples
/
component.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3100b
)
CMake: doing proper string comparison in IF clause
author
mpa
<mpa@opencascade.com>
Wed, 23 Oct 2013 10:14:57 +0000
(10:14 +0000)
committer
mpa
<mpa@opencascade.com>
Wed, 23 Oct 2013 10:14:57 +0000
(10:14 +0000)
SalomeCOMPONENTConfig.cmake.in
patch
|
blob
|
history
diff --git
a/SalomeCOMPONENTConfig.cmake.in
b/SalomeCOMPONENTConfig.cmake.in
index 22bb14a04aecc968d31eca55411b842a4037c4b2..5a87ec775ea6f07bd6ee0e630df6cff59839f92d 100644
(file)
--- a/
SalomeCOMPONENTConfig.cmake.in
+++ b/
SalomeCOMPONENTConfig.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}"