Add the location of install

This commit is contained in:
2019-03-29 15:21:30 +01:00
parent 6b9da38087
commit 52b8008bdc

View File

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 3.12) cmake_minimum_required(VERSION 3.12)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON)
SET(PYTHONLIB "po" CACHE STRING "Location of the python site-package directory")
project (cobitools3) project (cobitools3)
set(CMAKE_BUILD_TYPE Release) set(CMAKE_BUILD_TYPE Release)
@ -58,4 +60,7 @@ add_library(cobitools3 SHARED obierrno.c
libecoPCR/ecoMalloc.c libecoPCR/ecoMalloc.c
libecoPCR/ecoError.c libecoPCR/ecoError.c
obitypes.c obitypes.c
array_indexer.c) array_indexer.c)
install(TARGETS cobitools3 DESTINATION ${PYTHONLIB})