mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[CMAKE]
- Do not link drivers to supc++ svn path=/trunk/; revision=58648
This commit is contained in:
parent
06720167a3
commit
a6a0236a4f
1 changed files with 5 additions and 1 deletions
|
@ -199,7 +199,11 @@ endfunction()
|
|||
|
||||
function(set_module_type_toolchain MODULE TYPE)
|
||||
if(IS_CPP)
|
||||
target_link_libraries(${MODULE} -lstdc++ -lsupc++ -lgcc -lmingwex)
|
||||
if((${TYPE} STREQUAL "kernelmodedriver") OR (${TYPE} STREQUAL "wdmdriver"))
|
||||
target_link_libraries(${MODULE} -lgcc)
|
||||
else()
|
||||
target_link_libraries(${MODULE} -lstdc++ -lsupc++ -lgcc -lmingwex)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if((${TYPE} STREQUAL "kernelmodedriver") OR (${TYPE} STREQUAL "wdmdriver"))
|
||||
|
|
Loading…
Reference in a new issue