diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-06-14 20:49:00 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-06-14 20:49:00 (GMT) |
commit | 64a1707aeee16dcfac31e770b0869d9fc9c56ad2 (patch) | |
tree | c360526f03051fdd9513f3f6abcbd4b6709308d1 /Modules/FindCABLE.cmake | |
parent | 12d0b7c93d54f51a9b47152dbd5ba9b5c182c966 (diff) | |
download | CMake-64a1707aeee16dcfac31e770b0869d9fc9c56ad2.zip CMake-64a1707aeee16dcfac31e770b0869d9fc9c56ad2.tar.gz CMake-64a1707aeee16dcfac31e770b0869d9fc9c56ad2.tar.bz2 |
ENH: clean modules (doc, make stuff advanced, etc.)
Diffstat (limited to 'Modules/FindCABLE.cmake')
-rw-r--r-- | Modules/FindCABLE.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/FindCABLE.cmake b/Modules/FindCABLE.cmake index 94e9841..4f163fe 100644 --- a/Modules/FindCABLE.cmake +++ b/Modules/FindCABLE.cmake @@ -35,7 +35,7 @@ IF(CABLE_BUILD_DIR) ${CABLE_BINARY_DIR}/CableTclFacility ${CABLE_BINARY_DIR}/CableTclFacility/*) ENDIF(CABLE_LIBRARY_PATH) - + IF(CABLE_EXECUTABLE_PATH) FIND_PROGRAM(CABLE NAMES cable PATHS ${CABLE_EXECUTABLE_PATH} @@ -45,22 +45,22 @@ IF(CABLE_BUILD_DIR) ${CABLE_BINARY_DIR}/Executables ${CABLE_BINARY_DIR}/Executables/*) ENDIF(CABLE_EXECUTABLE_PATH) - + FIND_PATH(CABLE_INCLUDE_DIR CableTclFacility/ctCalls.h ${CABLE_SOURCE_DIR}) ELSE(CABLE_BUILD_DIR) # Find the cable executable in the path. FIND_PROGRAM(CABLE NAMES cable) - + # Get the path where the executable sits, but without the executable # name on it. GET_FILENAME_COMPONENT(CABLE_ROOT_BIN ${CABLE} PATH) - + # Find the cable include directory in a path relative to the cable # executable. FIND_PATH(CABLE_INCLUDE_DIR CableTclFacility/ctCalls.h ${CABLE_ROOT_BIN}/../share/Cable/include) - + # Find the WrapTclFacility library in a path relative to the cable # executable. FIND_LIBRARY(CABLE_TCL_LIBRARY NAMES CableTclFacility PATHS |