update cmakelistss
This commit is contained in:
@@ -24,6 +24,7 @@ endif()
|
||||
message(STATUS "GMT library found as: " ${GMT_LIB})
|
||||
|
||||
macro(add_example name file)
|
||||
include_directories(/opt/homebrew/include)
|
||||
add_executable(${name} ${file}.cpp)
|
||||
if(WIN32)
|
||||
target_link_libraries(${name} PRIVATE ${GMT_LIB})
|
||||
|
||||
Reference in New Issue
Block a user