mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
There's no need to make a copy of this list, really
This commit is contained in:
committed by
majcosta
parent
d007d3ba9e
commit
06f7827d4a
+1
-4
@@ -126,14 +126,11 @@ foreach(lang IN LISTS LangTargets)
|
||||
foreach(exe IN LISTS ApplicationTargets)
|
||||
set(targPrefix ${exe}_${lang})
|
||||
|
||||
# make a copy of the library list for each language/library combination
|
||||
list(SUBLIST Ja2_Libs 0 -1 ${targPrefix}_Targets)
|
||||
|
||||
add_executable(${targPrefix} WIN32)
|
||||
target_sources(${targPrefix} PRIVATE ${Ja2Src})
|
||||
target_link_libraries(${targPrefix} PRIVATE ${Ja2_Libraries})
|
||||
|
||||
foreach(lib IN LISTS ${targPrefix}_Targets)
|
||||
foreach(lib IN LISTS Ja2_Libs)
|
||||
set(tgt ${targPrefix}_${lib})
|
||||
|
||||
add_library(${tgt})
|
||||
|
||||
Reference in New Issue
Block a user