mirror of
https://github.com/isledecomp/isle.git
synced 2025-03-27 23:20:32 -04:00
cmake: smartheap and libcmt are first in link order (#1420)
This commit is contained in:
parent
20bcea0c81
commit
466c345201
1 changed files with 2 additions and 1 deletions
|
@ -427,6 +427,7 @@ function(add_lego_libraries NAME)
|
|||
|
||||
# Link libraries
|
||||
target_link_libraries(${NAME} PRIVATE
|
||||
${ARG_LINK_LIBRARIES}
|
||||
dinput
|
||||
misc${ARG_SUFFIX}
|
||||
geom${ARG_SUFFIX}
|
||||
|
@ -459,7 +460,7 @@ endfunction()
|
|||
|
||||
set(lego1_link_libraries )
|
||||
if (ISLE_USE_SMARTHEAP)
|
||||
list(APPEND lego1_link_libraries SmartHeap::SmartHeap)
|
||||
list(APPEND lego1_link_libraries SmartHeap::SmartHeap libcmt)
|
||||
endif()
|
||||
|
||||
if(ISLE_BUILD_LEGO1)
|
||||
|
|
Loading…
Add table
Reference in a new issue