Skip to content
Snippets Groups Projects
Commit 80b2d633 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Fix CMake for BORNAGAIN_PYTHON=OFF (but make is broken)

parent 18662b68
No related branches found
No related tags found
1 merge request!2490CMake: rm option BA_WHEEL
......@@ -211,7 +211,11 @@ add_subdirectory(Fit/3rdparty)
add_subdirectory(Fit)
# other components
set(CoreComponents "PyCore;Base;Param;Sample;Resample;Device;Sim")
set(CoreComponents "Base")
if (BORNAGAIN_PYTHON)
set(CoreComponents "${CoreComponents};PyCore")
endif()
set(CoreComponents "${CoreComponents};Param;Sample;Resample;Device;Sim")
set(AllComponents "${CoreComponents};Img3D;GUI")
# code analysis
......@@ -267,8 +271,8 @@ endif()
add_subdirectory(Doc/man)
if(BORNAGAIN_PYTHON) # required for examples
add_subdirectory(hugo)
add_subdirectory(Doc/graph)
endif()
add_subdirectory(Doc/graph)
if(CONFIGURE_DOXY)
add_subdirectory(Doc/Doxygen)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment