-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdreeto_cmake
More file actions
42 lines (39 loc) · 1.07 KB
/
Copy pathAdreeto_cmake
File metadata and controls
42 lines (39 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#add_library(matplotlib_cpp INTERFACE)
#target_include_directories(matplotlib_cpp
# INTERFACE
# $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/examples>
# $<INSTALL_INTERFACE:include>
#)
#target_compile_features(matplotlib_cpp INTERFACE
# cxx_std_11
#)
# TODO: Use `Development.Embed` component when requiring cmake >= 3.18
#find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
#target_link_libraries(matplotlib_cpp INTERFACE
# Python3::Python
# Python3::Module
#)
#find_package(Python3 COMPONENTS NumPy)
#if(Python3_NumPy_FOUND)
# target_link_libraries(matplotlib_cpp INTERFACE
# Python3::NumPy
# )
#else()
# target_compile_definitions(matplotlib_cpp INTERFACE WITHOUT_NUMPY)
#endif()
#install(
# TARGETS matplotlib_cpp
# EXPORT install_targets
#)
#find_package(Python3 COMPONENTS NumPy)
#if(Python3_NumPy_FOUND)
# target_link_libraries(matplotlib_cpp INTERFACE
# Python3::NumPy
# )
#else()
# target_compile_definitions(matplotlib_cpp INTERFACE WITHOUT_NUMPY)
#endif()
#install(
# TARGETS matplotlib_cpp
# EXPORT install_targets
#)