update cmakelists
This commit is contained in:
parent
e071420a86
commit
ec153430e3
@ -9,7 +9,7 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
|
|||||||
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
|
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
|
||||||
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
||||||
include_directories(/opt/homebrew/include)
|
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")
|
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
||||||
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
||||||
include_directories(C:/programs/gmt6/include)
|
include_directories(C:/programs/gmt6/include)
|
||||||
|
Loading…
Reference in New Issue
Block a user