Minor correction to compile under mac osx
This commit is contained in:
parent
a5d98eca47
commit
e69ba3bd4b
|
@ -28,6 +28,7 @@
|
|||
${CIF_INCLUDE_DIR}
|
||||
${CONFIGURATION_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_PATH}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_definitions ( -DCORIOLIS_TOP="${CORIOLIS_TOP}"
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace boptions = boost::program_options;
|
|||
|
||||
#include "vlsisapd/configuration/Configuration.h"
|
||||
#include "hurricane/Warning.h"
|
||||
#include "hurricane/isobar/Script.h"
|
||||
#include "hurricane/viewer/Script.h"
|
||||
#include "crlcore/Utilities.h"
|
||||
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
${PYTHON_LIBRARIES} -lutil
|
||||
)
|
||||
add_library ( CRL MODULE ${sources} )
|
||||
target_link_libraries ( CRL pycrlcore )
|
||||
set_target_properties ( CRL PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||
PREFIX ""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue