[CMAKE] Get rid of add_object_library

It's not needed anymore
This commit is contained in:
Jérôme Gardou 2021-02-02 16:33:15 +01:00 committed by Jérôme Gardou
parent 93d741c3f4
commit 49286a6225
10 changed files with 16 additions and 56 deletions

View file

@ -717,16 +717,6 @@ function(get_defines OUTPUT_VAR)
set(${OUTPUT_VAR} ${__tmp_var} PARENT_SCOPE)
endfunction()
if(NOT MSVC)
function(add_object_library _target)
add_library(${_target} OBJECT ${ARGN})
endfunction()
else()
function(add_object_library _target)
add_library(${_target} ${ARGN})
endfunction()
endif()
function(add_registry_inf)
# Add to the inf files list
foreach(_file ${ARGN})