summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/cmake.mpd3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/cmake.mpd b/templates/cmake.mpd
index f5f3cd20..e7d95eee 100644
--- a/templates/cmake.mpd
+++ b/templates/cmake.mpd
@@ -27,7 +27,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY <%env_exeout%>)
<%if(use_lib_modifier)%>
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG <%env_exeout%>)
<%endif%>
-<%else%>
+<%endif%>
+<%if(!exename)%>
<%if(libout)%>
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY <%env_libout%>)
<%if(use_lib_modifier)%>