cmake/Tests/RunCMake/CMakePackage/apple-import-common.cmake
2024-04-14 22:45:38 +02:00

8 lines
188 B
CMake

include(apple-common.cmake)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE NEVER)
find_package(mylib CONFIG REQUIRED)
add_executable(myexe src/myexe.c)
target_link_libraries(myexe PRIVATE mylib)