diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-04 10:12:31 -0500 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-04 10:12:31 -0500 |
commit | 666140816e64665b1f878f7dfdd125088913f34b (patch) | |
tree | 3574c4fcd9afc3fdf1cc410c8a71635c139fe7a1 /templates | |
parent | 4835d3def12ad63719f2463445cf568507f9cdc5 (diff) | |
download | MPC-666140816e64665b1f878f7dfdd125088913f34b.tar.gz |
No need to output archive, library, or runtime output directory settings if building an executable.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cmake.mpd | 3 |
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)%> |