From 1a6af764ba37328d0a40b665f84901e1d2f932cc Mon Sep 17 00:00:00 2001 From: Makayla Shepherd Date: Wed, 1 Aug 2018 17:29:41 -0700 Subject: [PATCH] Modified to look for a csm.h inside of a csm directory (#57) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b51f80..7e9b245 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ set_target_properties(usgscsm PROPERTIES ) find_library(CSM_LIBRARY csmapi REQUIRED) -find_path(CSM_INCLUDE_DIR NAMES csm) +find_path(CSM_INCLUDE_DIR PATH_SUFFIXES csm NAMES csm.h) target_include_directories(usgscsm PUBLIC -- GitLab