Skip to content

Commit

Permalink
NATIVE_SRC_SWIG
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Dec 3, 2024
1 parent ddf850e commit 0870214
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ foreach (algo_index RANGE 28) # 42
endforeach ()

if (Python_NumPy_FOUND AND (SWIG_FOUND OR (EXISTS ${PROJECT_SOURCE_DIR}/src/swig/nlopt-python.cpp)))
file (TO_NATIVE_PATH "${PROJECT_BINARY_DIR}/src/swig" NATIVE_SRC_SWIG)
set (PYINSTALLCHECK_ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/swig"
"PYTHONPATH=${PROJECT_BINARY_DIR}/src/swig"
"PYTHONPATH=${NATIVE_SRC_SWIG}"
)

foreach (algo_index 23 24 30 39)
Expand Down

0 comments on commit 0870214

Please sign in to comment.