# - Config file for the FADTTS package
# It defines the following variables
#  FADTTS_INCLUDE_DIRS - include directories
#  FADTTS_LIBRARIES    - libraries generated by FADTTS
#  FADTTS_EXECUTABLES   - the FADTTS executable
 
# Compute paths

get_filename_component(FADTTS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

string(REPLACE ${INSTALL_CMAKE_DIR}
       "" FADTTS_INSTALL_DIR
       ${FADTTS_CMAKE_DIR})

file(TO_CMAKE_PATH "${FADTTS_CMAKE_DIR}/../../../include" FADTTS_INCLUDE_DIRS)
file(TO_CMAKE_PATH "${FADTTS_INSTALL_DIR}/../../lib" FADTTS_LIBRARY_DIRS)

link_directories(${FADTTS_LIBRARY_DIRS})

set(FADTTS_LIBRARIES @FADTTS_LIBRARIES@)

find_program(FADTTSter_EXECUTABLE
  NAMES FADTTSter
  PATHS
    "${FADTTS_INSTALL_DIR}/../../../bin"    
  NO_DEFAULT_PATH
  )

message(STATUS "FADTTS found!")
message(STATUS "\t FADTTSter_EXECUTABLE=" ${FADTTSter_EXECUTABLE})
message(STATUS "\t FADTTS_INCLUDE_DIRS=" ${FADTTS_INCLUDE_DIRS})
message(STATUS "\t FADTTS_LIBRARIES=" ${FADTTS_LIBRARIES})
message(STATUS "\t FADTTS_LIBRARY_DIRS=" ${FADTTS_LIBRARY_DIRS})
# - Config file for the FADTTS package
# It defines the following variables
#  FADTTS_INCLUDE_DIRS - include directories
#  FADTTS_LIBRARIES    - libraries generated by FADTTS
#  FADTTS_EXECUTABLES   - the FADTTS executable
 
# Compute paths

get_filename_component(FADTTS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)


file(TO_CMAKE_PATH "${FADTTS_CMAKE_DIR}/../../../include" FADTTS_INCLUDE_DIRS)
file(TO_CMAKE_PATH "${FADTTS_CMAKE_DIR}/../../" FADTTS_LIBRARY_DIRS)

link_directories(${FADTTS_LIBRARY_DIRS})

set(FADTTS_LIBRARIES FADTTSterLib)

find_program(FADTTSter_EXECUTABLE
  NAMES FADTTSter
  PATHS
    "${FADTTS_CMAKE_DIR}/../../../bin"    
  NO_DEFAULT_PATH
  )

message(STATUS "\t FADTTSter_EXECUTABLE=" ${FADTTSter_EXECUTABLE})
message(STATUS "\t FADTTS_INCLUDE_DIRS=" ${FADTTS_INCLUDE_DIRS})
message(STATUS "\t FADTTS_LIBRARIES=" ${FADTTS_LIBRARIES})
message(STATUS "\t FADTTS_LIBRARY_DIRS=" ${FADTTS_LIBRARY_DIRS})
Modify configuration file for superbuild find
BUG: Modify configuration file for superbuild find
