Created
January 25, 2016 01:09
-
-
Save ahundt/0bd2c3379072dbb63ba5 to your computer and use it in GitHub Desktop.
sawConstraintControlerConfig files broken
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config file for the sawConstraintController package | |
# This adds sawConstraintController IMPORTED target | |
# | |
# Usage example: | |
# | |
# find_package(sawConstraintController) | |
# add_executable(foo foo.cpp) | |
# target_link_libraries(foo sawConstraintController) | |
# | |
# Additionaly you can use the following variables: | |
# | |
# SAWCONSTRAINTCONTROLLER_FOUND - standard CMake Package found indicator | |
# SAWCONSTRAINTCONTROLLER_INCLUDE_DIR - include directories for sawConstraintController alone | |
# SAWCONSTRAINTCONTROLLER_INCLUDE_DIRS - include directories for sawConstraintController with all dpendencies | |
# SAWCONSTRAINTCONTROLLER_DEFINITIONS - Definitions needed to build with sawConstraintController | |
# SAWCONSTRAINTCONTROLLER_LIBRARIES - Libraries needed to build with sawConstraintController | |
# todo: implement a mechanism for find_dependency scripts to work | |
# include(CMakeFindDependencyMacro) | |
# find_dependency(Gflags) | |
# find_dependency(Glog) | |
# find_dependency(Gtest) | |
# find_dependency(LAPACK) | |
# find_dependency(OpenCV) | |
# find_dependency(SuiteSparse) | |
# Our library dependencies (contains definitions for IMPORTED targets) | |
if(NOT TARGET sawConstraintController) | |
include("${CMAKE_CURRENT_LIST_DIR}/sawConstraintControllerTargets.cmake") | |
endif() | |
# | |
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### | |
####### Any changes to this file will be overwritten by the next CMake run #### | |
####### The input file was sawConstraintControllerConfig.cmake.in ######## | |
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) | |
macro(set_and_check _var _file) | |
set(${_var} "${_file}") | |
if(NOT EXISTS "${_file}") | |
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") | |
endif() | |
endmacro() | |
macro(check_required_components _NAME) | |
foreach(comp ${${_NAME}_FIND_COMPONENTS}) | |
if(NOT ${_NAME}_${comp}_FOUND) | |
if(${_NAME}_FIND_REQUIRED_${comp}) | |
set(${_NAME}_FOUND FALSE) | |
endif() | |
endif() | |
endforeach() | |
endmacro() | |
#################################################################################### | |
# check_required_components(sawConstraintController) | |
set (sawConstraintController_VERSION_MAJOR "") | |
set (sawConstraintController_VERSION_MINOR "") | |
set (sawConstraintController_VERSION_PATCH "") | |
set (sawConstraintController_VERSION "") | |
set (sawConstraintController_INCLUDE_DIR "") | |
set (sawConstraintController_LIBRARY_DIR "") | |
set (sawConstraintController_LIBRARIES "") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------------------------------- | |
# Generated CMake target import file for configuration "Debug". | |
#---------------------------------------------------------------- | |
# Commands may need to know the format version. | |
set(CMAKE_IMPORT_FILE_VERSION 1) | |
# Import target "sawConstraintController" for configuration "Debug" | |
set_property(TARGET sawConstraintController APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) | |
set_target_properties(sawConstraintController PROPERTIES | |
IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" | |
IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG "cisstRobot;cisstParameterTypes;cisstMultiTask;cisstNumerical;cisstOSAbstraction;cisstVector;cisstCommon;/System/Library/Frameworks/AGL.framework;/System/Library/Frameworks/OpenGL.framework;/System/Library/Frameworks/AGL.framework;/System/Library/Frameworks/OpenGL.framework;/usr/local/lib/libcisstNetlib.a;/usr/local/lib/libcisstNetlib_hanson_haskell.a;/usr/local/lib/libcisstNetlib_lawson_hanson.a;/usr/local/lib/libcisstNetlib_lapack.a;/usr/local/lib/libcisstNetlib_blas.a;/usr/local/lib/libcisstNetlib_f2c.a" | |
IMPORTED_LOCATION_DEBUG "/usr/local/Cellar/sawconstraintcontroller/1.0.1/lib/libsawConstraintController.a" | |
) | |
list(APPEND _IMPORT_CHECK_TARGETS sawConstraintController ) | |
list(APPEND _IMPORT_CHECK_FILES_FOR_sawConstraintController "/usr/local/Cellar/sawconstraintcontroller/1.0.1/lib/libsawConstraintController.a" ) | |
# Commands beyond this point should not need to know the version. | |
set(CMAKE_IMPORT_FILE_VERSION) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by CMake 3.4.1 | |
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) | |
message(FATAL_ERROR "CMake >= 2.6.0 required") | |
endif() | |
cmake_policy(PUSH) | |
cmake_policy(VERSION 2.6) | |
#---------------------------------------------------------------- | |
# Generated CMake target import file. | |
#---------------------------------------------------------------- | |
# Commands may need to know the format version. | |
set(CMAKE_IMPORT_FILE_VERSION 1) | |
# Protect against multiple inclusion, which would fail when already imported targets are added once more. | |
set(_targetsDefined) | |
set(_targetsNotDefined) | |
set(_expectedTargets) | |
foreach(_expectedTarget sawConstraintController) | |
list(APPEND _expectedTargets ${_expectedTarget}) | |
if(NOT TARGET ${_expectedTarget}) | |
list(APPEND _targetsNotDefined ${_expectedTarget}) | |
endif() | |
if(TARGET ${_expectedTarget}) | |
list(APPEND _targetsDefined ${_expectedTarget}) | |
endif() | |
endforeach() | |
if("${_targetsDefined}" STREQUAL "${_expectedTargets}") | |
set(CMAKE_IMPORT_FILE_VERSION) | |
cmake_policy(POP) | |
return() | |
endif() | |
if(NOT "${_targetsDefined}" STREQUAL "") | |
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") | |
endif() | |
unset(_targetsDefined) | |
unset(_targetsNotDefined) | |
unset(_expectedTargets) | |
# The installation prefix configured by this project. | |
set(_IMPORT_PREFIX "/usr/local/Cellar/sawconstraintcontroller/1.0.1") | |
# Create imported target sawConstraintController | |
add_library(sawConstraintController STATIC IMPORTED) | |
set_target_properties(sawConstraintController PROPERTIES | |
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include;/usr/local/Cellar/sawconstraintcontroller/1.0.1/include" | |
) | |
# Load information for each installed configuration. | |
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) | |
file(GLOB CONFIG_FILES "${_DIR}/sawConstraintControllerTargets-*.cmake") | |
foreach(f ${CONFIG_FILES}) | |
include(${f}) | |
endforeach() | |
# Cleanup temporary variables. | |
set(_IMPORT_PREFIX) | |
# Loop over all imported files and verify that they actually exist | |
foreach(target ${_IMPORT_CHECK_TARGETS} ) | |
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) | |
if(NOT EXISTS "${file}" ) | |
message(FATAL_ERROR "The imported target \"${target}\" references the file | |
\"${file}\" | |
but this file does not exist. Possible reasons include: | |
* The file was deleted, renamed, or moved to another location. | |
* An install or uninstall procedure did not complete successfully. | |
* The installation package was faulty and contained | |
\"${CMAKE_CURRENT_LIST_FILE}\" | |
but not all the files it references. | |
") | |
endif() | |
endforeach() | |
unset(_IMPORT_CHECK_FILES_FOR_${target}) | |
endforeach() | |
unset(_IMPORT_CHECK_TARGETS) | |
# This file does not depend on other imported targets which have | |
# been exported from the same project but in a separate export set. | |
# Commands beyond this point should not need to know the version. | |
set(CMAKE_IMPORT_FILE_VERSION) | |
cmake_policy(POP) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment