|
@ -23,7 +23,6 @@ find_path(CUSP_INCLUDE_DIR |
|
|
) |
|
|
) |
|
|
if(CUSP_INCLUDE_DIR) |
|
|
if(CUSP_INCLUDE_DIR) |
|
|
list(REMOVE_DUPLICATES CUSP_INCLUDE_DIR) |
|
|
list(REMOVE_DUPLICATES CUSP_INCLUDE_DIR) |
|
|
endif(CUSP_INCLUDE_DIR) |
|
|
|
|
|
|
|
|
|
|
|
# Find cusp version |
|
|
# Find cusp version |
|
|
file(STRINGS ${CUSP_INCLUDE_DIR}/cusp/version.h |
|
|
file(STRINGS ${CUSP_INCLUDE_DIR}/cusp/version.h |
|
@ -53,3 +52,5 @@ find_package_handle_standard_args(Cusp REQUIRED_VARS CUSP_INCLUDE_DIR VERSION_VA |
|
|
|
|
|
|
|
|
set(CUSP_INCLUDE_DIRS ${CUSP_INCLUDE_DIR}) |
|
|
set(CUSP_INCLUDE_DIRS ${CUSP_INCLUDE_DIR}) |
|
|
mark_as_advanced(CUSP_INCLUDE_DIR) |
|
|
mark_as_advanced(CUSP_INCLUDE_DIR) |
|
|
|
|
|
|
|
|
|
|
|
endif(CUSP_INCLUDE_DIR) |