Minor correction to compile under mac osx

This commit is contained in:
Damien Dupuis 2010-07-15 11:46:40 +00:00
parent a5d98eca47
commit e69ba3bd4b
3 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@
${CIF_INCLUDE_DIR}
${CONFIGURATION_INCLUDE_DIR}
${PYTHON_INCLUDE_PATH}
${Boost_INCLUDE_DIRS}
)
add_definitions ( -DCORIOLIS_TOP="${CORIOLIS_TOP}"

View File

@ -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"

View File

@ -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 ""
)