fix
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# - Config file for the Armadillo package
|
||||
# It defines the following variables
|
||||
# ARMADILLO_INCLUDE_DIRS - include directories for Armadillo
|
||||
# ARMADILLO_LIBRARY_DIRS - library directories for Armadillo (normally not used!)
|
||||
# ARMADILLO_LIBRARIES - libraries to link against
|
||||
|
||||
# Tell the user project where to find our headers and libraries
|
||||
set(ARMADILLO_INCLUDE_DIRS "@ARMADILLO_INCLUDE_DIRS@")
|
||||
set(ARMADILLO_LIBRARY_DIRS "@ARMADILLO_LIB_DIR@")
|
||||
|
||||
# Our library dependencies (contains definitions for IMPORTED targets)
|
||||
include("@ARMADILLO_CMAKE_DIR@/ArmadilloLibraryDepends.cmake")
|
||||
|
||||
# These are IMPORTED targets created by ArmadilloLibraryDepends.cmake
|
||||
set(ARMADILLO_LIBRARIES armadillo)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
set(PACKAGE_VERSION "@ARMA_VERSION_MAJOR@.@ARMA_VERSION_MINOR@.@ARMA_VERSION_PATCH@")
|
||||
|
||||
# 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()
|
||||
Reference in New Issue
Block a user