You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
448 B
7 lines
448 B
find_library(MYLIB_XCFRAMEWORK mylib NO_DEFAULT_PATH PATHS "${CMAKE_BINARY_DIR}/../create-xcframework-framework-build")
|
|
get_filename_component(bin_parent "${CMAKE_BINARY_DIR}" PATH)
|
|
set(expected_path "${bin_parent}/create-xcframework-framework-build/mylib.xcframework")
|
|
if(NOT MYLIB_XCFRAMEWORK STREQUAL expected_path)
|
|
message(FATAL_ERROR "Expected value of MYLIB_XCFRAMEWORK:\n ${expected_path}\nActual value:\n ${MYLIB_XCFRAMEWORK}")
|
|
endif()
|