File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ endif()
19
19
if (@BUILD_SHARED_LIBS@ )
20
20
set (_lib_suffix ${CMAKE_SHARED_LIBRARY_SUFFIX} )
21
21
set (_lib_prefix ${CMAKE_SHARED_LIBRARY_PREFIX} )
22
- else ()
22
+ else ()
23
23
set (_lib_suffix ${CMAKE_STATIC_LIBRARY_SUFFIX} )
24
24
set (_lib_prefix ${CMAKE_STATIC_LIBRARY_PREFIX} )
25
25
endif ()
@@ -39,10 +39,17 @@ set(CPPINTEROP_CMAKE_DIR "${_cmake}")
39
39
set (CPPINTEROP_INCLUDE_DIRS "${_include} " )
40
40
set (CPPINTEROP_LIBRARIES "${_lib} " )
41
41
42
+ set (CPPINTEROP_LLVM_VERSION "@LLVM_VERSION@" )
43
+ set (CPPINTEROP_LLVM_VERSION_MAJOR "@LLVM_VERSION_MAJOR@" )
44
+ set (CPPINTEROP_LLVM_VERSION_MINOR "@LLVM_VERSION_MINOR@" )
45
+ set (CPPINTEROP_LLVM_VERSION_PATCH "@LLVM_VERSION_PATCH@" )
46
+ set (CPPINTEROP_LLVM_VERSION_SUFFIX "@LLVM_VERSION_SUFFIX@" )
47
+ set (CPPINTEROP_LLVM_PACKAGE_VERSION "@PACKAGE_VERSION@" )
48
+
42
49
# Provide all our library targets to users.
43
50
if (@BUILD_SHARED_LIBS@ )
44
51
add_library (clangCppInterOp SHARED IMPORTED )
45
- else ()
52
+ else ()
46
53
add_library (clangCppInterOp STATIC IMPORTED )
47
54
endif ()
48
55
set_target_properties (clangCppInterOp PROPERTIES
You can’t perform that action at this time.
0 commit comments