diff --git a/plotlib/CMakeLists.txt b/plotlib/CMakeLists.txt index 2f9ca03..426bfe9 100644 --- a/plotlib/CMakeLists.txt +++ b/plotlib/CMakeLists.txt @@ -33,7 +33,7 @@ endif() option(PRIMITIVE_3D_VIEW_ROUTINES "Add the primitive 3D-view routines" OFF) -if(3D_VIEW_ROUTINES) +if(PRIMITIVE_3D_VIEW_ROUTINES) set(PLT_SRCS ${PLT_SRCS} plt_3D.f) endif()