Skip to content

Commit 5288f57

Browse files
committed
fixes some variables in xxconfig.cmake.in file
1 parent 6ab4d34 commit 5288f57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/CppInterOp/CppInterOpConfig.cmake.in

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ endif()
2727
if (IS_DIRECTORY "${CPPINTEROP_INSTALL_PREFIX}/include")
2828
set(_include "${CPPINTEROP_INSTALL_PREFIX}/include")
2929
set(_lib "${CPPINTEROP_INSTALL_PREFIX}/${shared_lib_dir}/${_lib_prefix}clangCppInterOp${_lib_suffix}")
30+
set(_cmake "${CPPINTEROP_INSTALL_PREFIX}/${shared_lib_dir}/cmake/CppInterOp")
3031
else()
3132
set(_include "@CMAKE_CURRENT_SOURCE_DIR@/include")
3233
set(_lib "@CMAKE_CURRENT_BINARY_DIR@/${shared_lib_dir}/${_lib_prefix}clangCppInterOp${_lib_suffix}")
34+
set(_cmake "@CMAKE_CURRENT_BINARY_DIR@/${shared_lib_dir}/cmake/CppInterOp")
3335
endif()
3436

3537
###
@@ -44,7 +46,7 @@ set(CPPINTEROP_LLVM_VERSION_MAJOR "@LLVM_VERSION_MAJOR@")
4446
set(CPPINTEROP_LLVM_VERSION_MINOR "@LLVM_VERSION_MINOR@")
4547
set(CPPINTEROP_LLVM_VERSION_PATCH "@LLVM_VERSION_PATCH@")
4648
set(CPPINTEROP_LLVM_VERSION_SUFFIX "@LLVM_VERSION_SUFFIX@")
47-
set(CPPINTEROP_LLVM_PACKAGE_VERSION "@PACKAGE_VERSION@")
49+
set(CPPINTEROP_LLVM_PACKAGE_VERSION "@CPPINTEROP_VERSION@")
4850

4951
# Provide all our library targets to users.
5052
if (@BUILD_SHARED_LIBS@)

0 commit comments

Comments
 (0)