Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6532df9c authored by hhakim's avatar hhakim
Browse files

Set the cmake target to embed libomp in the package as the default target.

parent 7d36c31c
Branches
Tags
No related merge requests found
......@@ -389,8 +389,10 @@ if(UNIX)
else()
set(LIBEXT so)
endif()
add_custom_target(EMBED_LIBOMP_IN_PYFAUST
COMMAND cmake -P ${PROJECT_SOURCE_DIR}/CMake/embed_sys_libomp_into_pyfaust.txt DEPENDS ${FAUST_PYTHON_TARGET})
if(APPLE AND BUILD_MULTITHREAD OR ${CMAKE_CXX_COMPILER} MATCHES .*clang.*)
add_custom_target(EMBED_LIBOMP_IN_PYFAUST ALL
COMMAND cmake -P ${PROJECT_SOURCE_DIR}/CMake/embed_sys_libomp_into_pyfaust.txt DEPENDS ${FAUST_PYTHON_TARGET} COMMENT "Embedding the libomp library in pyfaust/lib directory")
endif()
endforeach()
elseif(WIN32)
if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment