diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-11-12 10:54:16 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-11-12 10:54:16 +0100 |
commit | dcb66d6b403ed2c4341fdb091f2ef22b73ea8b8a (patch) | |
tree | e376edbcf2a3482bd06c006c04bcc097db34c3a5 /cmake | |
parent | 3e4a68cc60197b75e4bc9715f6752906c420c50b (diff) |
fix ei_add_property
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/EigenTesting.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index d3102d929..629880e8f 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -1,7 +1,7 @@ macro(ei_add_property prop value) get_property(previous GLOBAL PROPERTY ${prop}) - if (NOT ${previous} OR ${previous} STREQUAL "") + if ((NOT previous) OR (previous STREQUAL "")) set_property(GLOBAL PROPERTY ${prop} "${value}") else() set_property(GLOBAL PROPERTY ${prop} "${previous} ${value}") |