Blame |
Last modification |
View Log
| Download
| RSS feed
# This file allows users to call find_package(Polly) and pick up our targets.
# Compute the installation prefix from this LLVMConfig.cmake file location.
HINTS "${POLLY_INSTALL_PREFIX}/lib/cmake/llvm")
set(Polly_CMAKE_DIR
${CMAKE_CURRENT_LIST_DIR})
set(Polly_BUNDLED_ISL
ON)
set(Polly_ENABLE_GPGPU_CODEGEN
OFF)
set(Polly_DEFINITIONS
${LLVM_DEFINITIONS})
set(Polly_INCLUDE_DIRS
${POLLY_INSTALL_PREFIX}/include;
${POLLY_INSTALL_PREFIX}/include/polly
${LLVM_INCLUDE_DIRS})
set(Polly_LIBRARY_DIRS
${POLLY_INSTALL_PREFIX}/lib
)
set(Polly_EXPORTED_TARGETS Polly;PollyISL;LLVMPolly
)
set(Polly_LIBRARIES
${LLVM_LIBRARIES} ${Polly_EXPORTED_TARGETS})
# Imported Targets:
if (Polly_ENABLE_GPGPU_CODEGEN
AND NOT TARGET PollyPPCG
)
set_property(TARGET PollyPPCG
PROPERTY INTERFACE_LINK_LIBRARIES PollyISL
)
set_property(TARGET Polly
PROPERTY INTERFACE_LINK_LIBRARIES PollyISL
)
if (Polly_ENABLE_GPGPU_CODEGEN
)
set_property(TARGET Polly
APPEND PROPERTY INTERFACE_LINK_LIBRARIES PollyPPCG
)
if (NOT TARGET LLVMPolly
)
set_property(TARGET LLVMPolly
PROPERTY INTERFACE_LINK_LIBRARIES Polly
)
# Exported locations:
file(GLOB CONFIG_FILES
"${Polly_CMAKE_DIR}/PollyExports-*.cmake")