update cmakelistss
This commit is contained in:
parent
24b660cf03
commit
d8854b0ab1
@ -24,6 +24,7 @@ endif()
|
|||||||
message(STATUS "GMT library found as: " ${GMT_LIB})
|
message(STATUS "GMT library found as: " ${GMT_LIB})
|
||||||
|
|
||||||
macro(add_example name file)
|
macro(add_example name file)
|
||||||
|
include_directories(/opt/homebrew/include)
|
||||||
add_executable(${name} ${file}.cpp)
|
add_executable(${name} ${file}.cpp)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(${name} PRIVATE ${GMT_LIB})
|
target_link_libraries(${name} PRIVATE ${GMT_LIB})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "gmt.h"
|
#include "gmt/gmt.h"
|
||||||
#include "iostream"
|
#include "iostream"
|
||||||
#include "string"
|
#include "string"
|
||||||
#include "unistd.h"
|
#include "unistd.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "gmt.h"
|
#include "gmt/gmt.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
#include "unistd.h"
|
#include "unistd.h"
|
||||||
#include "iostream"
|
#include "iostream"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "gmt.h"
|
#include "gmt/gmt.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
#include "unistd.h"
|
#include "unistd.h"
|
||||||
#include "iostream"
|
#include "iostream"
|
||||||
|
Loading…
Reference in New Issue
Block a user