Skip to content
Snippets Groups Projects
Commit d9ca1a6a authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fix for Windows installer (5)

parent 9a2d59a0
No related branches found
No related tags found
No related merge requests found
...@@ -89,10 +89,9 @@ if(BORNAGAIN_PYTHON) ...@@ -89,10 +89,9 @@ if(BORNAGAIN_PYTHON)
configure_file(${WRAP_DIR}/python/plot_utils.py configure_file(${WRAP_DIR}/python/plot_utils.py
${CMAKE_BINARY_DIR}/lib/bornagain/plot_utils.py COPYONLY) ${CMAKE_BINARY_DIR}/lib/bornagain/plot_utils.py COPYONLY)
# variable BA_MODULES_IMPORT_PATH must be set # variable BA_MODULES_IMPORT_PATH must be set
set(BA_MODULES_IMPORT_PATH "..")
if(BORNAGAIN_APPLE_BUNDLE) if(BORNAGAIN_APPLE_BUNDLE)
set(BA_MODULES_IMPORT_PATH lib/BornAgain-${BornAgain_VERSION_MAJOR}.${BornAgain_VERSION_MINOR}) set(BA_MODULES_IMPORT_PATH lib/BornAgain-${BornAgain_VERSION_MAJOR}.${BornAgain_VERSION_MINOR})
elseif(NOT WIN32)
set(BA_MODULES_IMPORT_PATH "..")
endif() endif()
configure_file("${WRAP_DIR}/python/__init__.py.in" configure_file("${WRAP_DIR}/python/__init__.py.in"
"${CMAKE_BINARY_DIR}/lib/bornagain/__init__.py" @ONLY) "${CMAKE_BINARY_DIR}/lib/bornagain/__init__.py" @ONLY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment