Skip to content
Snippets Groups Projects
Unverified Commit e2cf2300 authored by Justin Carpentier's avatar Justin Carpentier Committed by Joris Vaillant
Browse files

cmake: fix compilation ordering of .pyc files

parent 7cf5d03c
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,10 @@ set_target_properties(python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True)
add_library(${PYWRAP} SHARED main.cpp)
add_dependencies(python ${PYWRAP})
target_link_libraries(${PYWRAP} PUBLIC ${PROJECT_NAME})
python_build_get_target(python_build_target)
add_dependencies(${PYWRAP} ${python_build_target})
# BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS spews conversion warnings from int to
# long unsigned int. Unfortunately, using literals does not work in a macro. As
# such, this turns them off for the entire wrapper:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment