Skip to content

Commit

Permalink
build: SYSTEM_CIMG and SYSTEM_NODESOUP options include MATPLOTPP prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Sep 24, 2024
1 parent 4ab073b commit e4ce497
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/3rd_party/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#######################################################
### NodeSoup ###
#######################################################
if(WITH_SYSTEM_NODESOUP)
if(MATPLOTPP_WITH_SYSTEM_NODESOUP)
find_path(NODESOUP_INCLUDE_DIR nodesoup.hpp REQUIRED)
find_library(NODESOUP_LIB nodesoup REQUIRED)

Expand Down Expand Up @@ -52,7 +52,7 @@ endif()
### CImg ###
#######################################################
add_library(cimg INTERFACE)
if(WITH_SYSTEM_CIMG)
if(MATPLOTPP_WITH_SYSTEM_CIMG)
find_path(CIMG_INCLUDE_DIR CImg.h REQUIRED)
else()
set(CIMG_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cimg)
Expand Down Expand Up @@ -153,4 +153,4 @@ endif()
if(MASTER_PROJECT AND NOT BUILD_SHARED_LIBS)
install(TARGETS cimg
EXPORT Matplot++Targets)
endif()
endif()

0 comments on commit e4ce497

Please sign in to comment.