Add the location of install
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
SET(PYTHONLIB "po" CACHE STRING "Location of the python site-package directory")
|
||||
|
||||
project (cobitools3)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
|
||||
@ -58,4 +60,7 @@ add_library(cobitools3 SHARED obierrno.c
|
||||
libecoPCR/ecoMalloc.c
|
||||
libecoPCR/ecoError.c
|
||||
obitypes.c
|
||||
array_indexer.c)
|
||||
array_indexer.c)
|
||||
|
||||
install(TARGETS cobitools3 DESTINATION ${PYTHONLIB})
|
||||
|
Reference in New Issue
Block a user