mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
swig python: build with CMAKE_CXX_FLAGS, not CMAKE_C_FLAGS
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
parent
ec36a8f519
commit
3cec185d91
@ -96,7 +96,7 @@ macro(_upm_swig_python)
|
|||||||
# Python collateral names will be the same for python2/3 w/different library dirs
|
# Python collateral names will be the same for python2/3 w/different library dirs
|
||||||
set_target_properties (${python_wrapper_target} PROPERTIES
|
set_target_properties (${python_wrapper_target} PROPERTIES
|
||||||
OUTPUT_NAME _pyupm_${libname}
|
OUTPUT_NAME _pyupm_${libname}
|
||||||
COMPILE_FLAGS "${CMAKE_C_FLAGS}"
|
COMPILE_FLAGS "${CMAKE_CXX_FLAGS}"
|
||||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_PYTHON_BINARY_DIR})
|
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_PYTHON_BINARY_DIR})
|
||||||
|
|
||||||
# Install .py's to python packages directory/upm
|
# Install .py's to python packages directory/upm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user