Skip to content

Commit

Permalink
fixes some variables in xxconfig.cmake.in file
Browse files Browse the repository at this point in the history
  • Loading branch information
anutosh491 committed Oct 24, 2024
1 parent 757e7e8 commit 0385073
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/CppInterOp/CppInterOpConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ endif()
if (IS_DIRECTORY "${CPPINTEROP_INSTALL_PREFIX}/include")
set(_include "${CPPINTEROP_INSTALL_PREFIX}/include")
set(_lib "${CPPINTEROP_INSTALL_PREFIX}/${shared_lib_dir}/${_lib_prefix}clangCppInterOp${_lib_suffix}")
set(_cmake "${CPPINTEROP_INSTALL_PREFIX}/${shared_lib_dir}/cmake/CppInterOp")
else()
set(_include "@CMAKE_CURRENT_SOURCE_DIR@/include")
set(_lib "@CMAKE_CURRENT_BINARY_DIR@/${shared_lib_dir}/${_lib_prefix}clangCppInterOp${_lib_suffix}")
set(_cmake "@CMAKE_CURRENT_BINARY_DIR@/${shared_lib_dir}/cmake/CppInterOp")
endif()

###
Expand All @@ -44,7 +46,7 @@ set(CPPINTEROP_LLVM_VERSION_MAJOR "@LLVM_VERSION_MAJOR@")
set(CPPINTEROP_LLVM_VERSION_MINOR "@LLVM_VERSION_MINOR@")
set(CPPINTEROP_LLVM_VERSION_PATCH "@LLVM_VERSION_PATCH@")
set(CPPINTEROP_LLVM_VERSION_SUFFIX "@LLVM_VERSION_SUFFIX@")
set(CPPINTEROP_LLVM_PACKAGE_VERSION "@PACKAGE_VERSION@")
set(CPPINTEROP_LLVM_PACKAGE_VERSION "@CPPINTEROP_VERSION@")

# Provide all our library targets to users.
if (@BUILD_SHARED_LIBS@)
Expand Down

0 comments on commit 0385073

Please sign in to comment.