vcpkg/ports/suitesparse/vcpkg-cmake-wrapper_cxsparse.cmake

11 lines
286 B
CMake
Raw Normal View History

2020-08-28 13:13:05 +08:00
set(CXSPARSE_PREV_MODULE_PATH ${CMAKE_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
list(REMOVE_ITEM ARGS "NO_MODULE")
list(REMOVE_ITEM ARGS "CONFIG")
list(REMOVE_ITEM ARGS "MODULE")
_find_package(${ARGS})
set(CMAKE_MODULE_PATH ${CXSPARSE_PREV_MODULE_PATH})