Skip to content

Commit e4ce497

Browse files
authored
build: SYSTEM_CIMG and SYSTEM_NODESOUP options include MATPLOTPP prefix
1 parent 4ab073b commit e4ce497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: source/3rd_party/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#######################################################
22
### NodeSoup ###
33
#######################################################
4-
if(WITH_SYSTEM_NODESOUP)
4+
if(MATPLOTPP_WITH_SYSTEM_NODESOUP)
55
find_path(NODESOUP_INCLUDE_DIR nodesoup.hpp REQUIRED)
66
find_library(NODESOUP_LIB nodesoup REQUIRED)
77

@@ -52,7 +52,7 @@ endif()
5252
### CImg ###
5353
#######################################################
5454
add_library(cimg INTERFACE)
55-
if(WITH_SYSTEM_CIMG)
55+
if(MATPLOTPP_WITH_SYSTEM_CIMG)
5656
find_path(CIMG_INCLUDE_DIR CImg.h REQUIRED)
5757
else()
5858
set(CIMG_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cimg)
@@ -153,4 +153,4 @@ endif()
153153
if(MASTER_PROJECT AND NOT BUILD_SHARED_LIBS)
154154
install(TARGETS cimg
155155
EXPORT Matplot++Targets)
156-
endif()
156+
endif()

0 commit comments

Comments
 (0)