File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 2
2
find_package (PythonLibs REQUIRED)
3
3
include_directories (${PYTHON_INCLUDE_PATH} )
4
4
5
- # find boost
6
- find_package (Boost REQUIRED)
7
- include_directories (${Boost_INCLUDE_DIRS} )
8
-
9
- # find eigen3
10
- find_package (Eigen3 REQUIRED)
11
- include_directories (${EIGEN3_INCLUDE_DIR} )
12
-
13
- # find qt
14
- find_package (Qt4 4.6 COMPONENTS QtCore REQUIRED)
15
- set (QT_DONT_USE_QTGUI TRUE )
16
- include (${QT_USE_FILE} )
5
+ # find chemkit
6
+ find_package (Chemkit COMPONENTS io md )
7
+ include_directories (${CHEMKIT_INCLUDE_DIRS} )
17
8
18
9
set (SOURCES
19
10
atom.pxd
@@ -50,7 +41,7 @@ add_custom_command(OUTPUT chemkit.cpp
50
41
# build library
51
42
add_library (chemkit-python SHARED chemkit.cpp)
52
43
set_target_properties (chemkit-python PROPERTIES OUTPUT_NAME "chemkit" PREFIX "" )
53
- target_link_libraries (chemkit-python chemkit )
44
+ target_link_libraries (chemkit-python ${CHEMKIT_LIBRARIES} )
54
45
55
46
# find python site-packages directory for installation
56
47
execute_process (COMMAND ${PYTHON_EXECUTABLE}
You can’t perform that action at this time.
0 commit comments