CMakeLists cleaning : -D__PYTHON_MODULE__=1 is absolutely not needed when using boost::python (it is specific to isobar)
This commit is contained in:
parent
b2e2eafadb
commit
a5d98eca47
|
@ -26,7 +26,6 @@ find_package(Bootstrap REQUIRED)
|
|||
setup_boost(program_options filesystem python)
|
||||
|
||||
FIND_PACKAGE(LibXml2 REQUIRED)
|
||||
FIND_PACKAGE(PythonLibs REQUIRED)
|
||||
FIND_PACKAGE(PythonSitePackages REQUIRED)
|
||||
FIND_PACKAGE(PythonLibs REQUIRED)
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ INSTALL(FILES ${hpps} DESTINATION include/vlsisapd/agds)
|
|||
IF(Boost_FOUND)
|
||||
ADD_LIBRARY(pyAGDS MODULE ${pycpps})
|
||||
SET_TARGET_PROPERTIES(pyAGDS PROPERTIES
|
||||
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||
OUTPUT_NAME "AGDS"
|
||||
PREFIX ""
|
||||
)
|
||||
|
|
|
@ -17,7 +17,6 @@ INSTALL(FILES ${hpps} DESTINATION include/vlsisapd/cif)
|
|||
IF(Boost_FOUND)
|
||||
ADD_LIBRARY(pyCIF MODULE ${pycpps})
|
||||
SET_TARGET_PROPERTIES(pyCIF PROPERTIES
|
||||
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||
OUTPUT_NAME "CIF"
|
||||
PREFIX ""
|
||||
)
|
||||
|
|
|
@ -20,7 +20,6 @@ INSTALL(TARGETS dtr DESTINATION lib${LIB_SUFFIX})
|
|||
IF (Boost_FOUND)
|
||||
ADD_LIBRARY(pyDTR MODULE ${pycpps})
|
||||
SET_TARGET_PROPERTIES(pyDTR PROPERTIES
|
||||
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||
OUTPUT_NAME "DTR"
|
||||
PREFIX ""
|
||||
)
|
||||
|
|
|
@ -35,7 +35,6 @@ INSTALL(TARGETS openChams DESTINATION lib${LIB_SUFFIX} )
|
|||
IF(Boost_FOUND)
|
||||
ADD_LIBRARY(pyOPENCHAMS MODULE ${pycpps})
|
||||
SET_TARGET_PROPERTIES(pyOPENCHAMS PROPERTIES
|
||||
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||
OUTPUT_NAME "OPENCHAMS"
|
||||
PREFIX ""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue