summaryrefslogtreecommitdiffstats
path: root/pywrap
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-15 18:00:49 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-15 18:00:49 +0100
commit04ebbebd22e811b82a7ef1ed3591ce5e2dbfcca3 (patch)
tree86a17b26a2f947bf2d30af466d382d73da084a8b /pywrap
parentbf64cc22b9aa641aaaf1eb98cc58e3eeff27b5b0 (diff)
downloadpcitool-04ebbebd22e811b82a7ef1ed3591ce5e2dbfcca3.tar.gz
pcitool-04ebbebd22e811b82a7ef1ed3591ce5e2dbfcca3.tar.bz2
pcitool-04ebbebd22e811b82a7ef1ed3591ce5e2dbfcca3.tar.xz
pcitool-04ebbebd22e811b82a7ef1ed3591ce5e2dbfcca3.zip
Fixed a minor typo in CMakeLists.txt
Diffstat (limited to 'pywrap')
-rw-r--r--pywrap/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywrap/CMakeLists.txt b/pywrap/CMakeLists.txt
index f278b86..5acd17a 100644
--- a/pywrap/CMakeLists.txt
+++ b/pywrap/CMakeLists.txt
@@ -19,7 +19,7 @@ swig_link_libraries(pcipywrap ${PYTHON_LIBRARIES} pcilib)
install(TARGETS ${SWIG_MODULE_pcipywrap_REAL_NAME} DESTINATION ${PYTHON_INSTALL_DIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pcipywrap.py DESTINATION ${PYTHON_INSTALL_DIR})
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pcilib.py DESTINATION ${PYTHON_INSTALL_DIR})
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pcilib.py DESTINATION ${PYTHON_INSTALL_DIR})
if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/test_pcilib.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})