28 lines
847 B
CMake
28 lines
847 B
CMake
# Build SalomeMesh for all Platforms since heavily patched
|
|
if (BUILD_SMESH)
|
|
add_subdirectory(salomesmesh)
|
|
endif()
|
|
|
|
add_subdirectory(lazy_loader)
|
|
|
|
if(NOT FREECAD_USE_EXTERNAL_E57FORMAT)
|
|
add_subdirectory(libE57Format)
|
|
endif()
|
|
|
|
if (BUILD_ASSEMBLY AND NOT FREECAD_USE_EXTERNAL_ONDSELSOLVER)
|
|
if( NOT EXISTS "${CMAKE_SOURCE_DIR}/src/3rdParty/OndselSolver/CMakeLists.txt" )
|
|
message(FATAL_ERROR "The OndselSolver git submodule is not available. Please run
|
|
git submodule update --init" )
|
|
endif()
|
|
add_subdirectory(OndselSolver)
|
|
endif()
|
|
|
|
if (BUILD_TRACY_FRAME_PROFILER)
|
|
if( NOT EXISTS "${CMAKE_SOURCE_DIR}/src/3rdParty/tracy/CMakeLists.txt" )
|
|
message(FATAL_ERROR "The Tracy git directory is not available. Please clone it manually." )
|
|
endif()
|
|
|
|
set(TRACY_STATIC OFF)
|
|
add_subdirectory(tracy)
|
|
endif()
|