diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-29 13:40:05 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-29 13:40:05 (GMT) |
commit | 964801e023999a52004954647e9d5382466868cc (patch) | |
tree | cd0fc2309ffdb18ddb18d9d7d8f1f25da99af370 /contrib/cmake | |
parent | 86edde8c9a83e410848107e9e1ad6cc9968be8db (diff) | |
download | uscxml-964801e023999a52004954647e9d5382466868cc.zip uscxml-964801e023999a52004954647e9d5382466868cc.tar.gz uscxml-964801e023999a52004954647e9d5382466868cc.tar.bz2 |
Fall back to miles release if debug cannot be found
Diffstat (limited to 'contrib/cmake')
-rw-r--r-- | contrib/cmake/FindMILES.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cmake/FindMILES.cmake b/contrib/cmake/FindMILES.cmake index f86e695..0e073a1 100644 --- a/contrib/cmake/FindMILES.cmake +++ b/contrib/cmake/FindMILES.cmake @@ -104,6 +104,8 @@ if (MILES_NR_COMPONENTS GREATER 0) ) if (${_CURR_COMPONENT}_DEBUG) list(APPEND MILES_LIBRARIES debug ${${_CURR_COMPONENT}_DEBUG}) + elseif(${_CURR_COMPONENT}) + list(APPEND MILES_LIBRARIES debug ${${_CURR_COMPONENT}}) endif() endif() endforeach() |