Skip to content

Commit 9acad7c

Browse files
committed
cmake cleanup
1 parent 6c4031d commit 9acad7c

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

cmake/external_project_common.cmake

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -98,32 +98,6 @@ else()
9898
set(DEF_FLAG "-D")
9999
endif()
100100

101-
macro(link_library_path2 TARGET_ PREFIX_ LIBRARY_ LIBRARY_DEBUG_)
102-
if (IS_MULTI_CONFIG)
103-
target_link_libraries(${TARGET_} INTERFACE
104-
optimized "${PREFIX_}/${LIBRARY_}"
105-
debug "${PREFIX_}/${LIBRARY_DEBUG_}"
106-
)
107-
else ()
108-
target_link_libraries(${TARGET_} INTERFACE "${PREFIX_}/${LIBRARY_}")
109-
endif()
110-
endmacro()
111-
112-
macro(link_config_aware_library_path2 TARGET_ PREFIX_ LIBRARY_ LIBRARY_DEBUG_)
113-
if (IS_MULTI_CONFIG)
114-
target_link_libraries(${TARGET_} INTERFACE
115-
optimized "${PREFIX_}/Release/${LIBRARY_}"
116-
debug "${PREFIX_}/Debug/${LIBRARY_DEBUG_}"
117-
)
118-
else ()
119-
target_link_libraries(${TARGET_} INTERFACE "${PREFIX_}/${LIBRARY_}")
120-
endif()
121-
endmacro()
122-
123-
macro(link_config_aware_library_path TARGET_ PREFIX_ LIBRARY_)
124-
link_config_aware_library_path2(${TARGET_} ${PREFIX_} ${LIBRARY_} ${LIBRARY_})
125-
endmacro()
126-
127101

128102

129103
function(meson_build_type_from_cmake RETVAR_)

0 commit comments

Comments
 (0)