Skip to content

Commit

Permalink
readded these config files
Browse files Browse the repository at this point in the history
  • Loading branch information
corinwagen committed Apr 22, 2024
1 parent c2bc38c commit 6d0261b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions libmsymConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# LIBMSYM_INCLUDE_DIRS - include directories for FooBar
# LIBMSYM_LIBRARIES - libraries to link against

# Compute paths
get_filename_component(LIBMSYM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(LIBMSYM_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")

# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET msym AND NOT LIBMSYM_BINARY_DIR)
include("${LIBMSYM_CMAKE_DIR}/libmsymTargets.cmake")
endif()

# These are IMPORTED targets created by libmsymTargets.cmake
set(LIBMSYM_LIBRARIES msym)
11 changes: 11 additions & 0 deletions libmsymConfigVersion.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
set(PACKAGE_VERSION "@LIBMSYM_VERSION@")

# Check whether the requested PACKAGE_FIND_VERSION is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()

0 comments on commit 6d0261b

Please sign in to comment.