Skip to content

Commit

Permalink
#193 issue update textual.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aks-lodhi07 committed Nov 11, 2024
1 parent ef120d7 commit ec2fc3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/EnvelopeProblemSOS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ if (USE_OpenMP)
find_package(OpenMP REQUIRED)
endif (USE_OpenMP)

find_package(Python2 COMPONENTS Development NumPy)
find_package(Python3 COMPONENTS Development NumPy REQUIRED)

add_executable(EnvelopeProblem ${TARGETS})

if (NOT BOOST_DIR)
Expand Down Expand Up @@ -82,5 +83,6 @@ else ()
if (USE_OpenMP)
target_link_directories(EnvelopeProblem PRIVATE ${OPENMP_LIBRARIES})
endif ()
target_link_libraries(EnvelopeProblem Python2::Python Python2::NumPy)
target_link_libraries(EnvelopeProblem Python3::Python Python3::NumPy)

endif ()

0 comments on commit ec2fc3b

Please sign in to comment.