From 5099bdb4327d16bf0946a78c5c332e46c8a48677 Mon Sep 17 00:00:00 2001 From: Chad Elliott Date: Tue, 11 Oct 2022 12:46:03 -0500 Subject: Added hard-coded configurations for libraries. --- templates/cmake.mpd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/cmake.mpd b/templates/cmake.mpd index ed263236..baf41f7a 100644 --- a/templates/cmake.mpd +++ b/templates/cmake.mpd @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION <%cmake_minimum_required(3.3.0)%>) +cmake_minimum_required(VERSION <%cmake_minimum_required(3.12.0)%>) <%marker(top)%> project(<%project_name%> <%language%>) @@ -20,7 +20,8 @@ find_package(ACE REQUIRED) <%endif%> set(SOURCE_FILES <%non_generated_sources%>) <%if(libs || lit_libs || pure_libs)%> -set(TARGET_LINK_LIBRARIES<%if(libs)%> <%libs%><%endif%><%if(lit_libs)%> <%lit_libs%><%endif%><%if(pure_libs)%> <%pure_libs%><%endif%>) +set(TARGET_LINK_LIBRARIES<%if(libs)%> $<$:<%libs%>> + $<$:<%foreach(libs)%><%fornotfirst(" ")%><%lib%>d<%endfor%>><%endif%><%if(lit_libs)%> <%lit_libs%><%endif%><%if(pure_libs)%> <%pure_libs%><%endif%>) <%endif%> <%if(exename)%> set(PROJECT_TARGET <%exename%>) -- cgit v1.2.1