update cmakelists

This commit is contained in:
张壹 2021-08-22 08:59:01 +08:00
parent e071420a86
commit ec153430e3

View File

@ -9,7 +9,7 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
include_directories(/opt/homebrew/include)
find_library(GMT_LIB gmt /usr/homebrew/lib)
find_library(GMT_LIB gmt /opt/homebrew/lib)
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
include_directories(C:/programs/gmt6/include)