Skip to content

Commit a27bf9e

Browse files
committed
ops forgot
1 parent 473fe71 commit a27bf9e

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

libmsymConfig.cmake.in

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# LIBMSYM_INCLUDE_DIRS - include directories for FooBar
2+
# LIBMSYM_LIBRARIES - libraries to link against
3+
4+
# Compute paths
5+
get_filename_component(LIBMSYM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
6+
set(LIBMSYM_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
7+
8+
# Our library dependencies (contains definitions for IMPORTED targets)
9+
if(NOT TARGET msym AND NOT LIBMSYM_BINARY_DIR)
10+
include("${LIBMSYM_CMAKE_DIR}/libmsymTargets.cmake")
11+
endif()
12+
13+
# These are IMPORTED targets created by FooBarTargets.cmake
14+
set(LIBMSYM_LIBRARIES msym)

libmsymConfigVersion.cmake.in

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set(PACKAGE_VERSION "@LIBMSYM_VERSION@")
2+
3+
# Check whether the requested PACKAGE_FIND_VERSION is compatible
4+
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
5+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
6+
else()
7+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
8+
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
9+
set(PACKAGE_VERSION_EXACT TRUE)
10+
endif()
11+
endif()

0 commit comments

Comments
 (0)