mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
put dll in the correct directory depending on system
This commit is contained in:
parent
c00900e723
commit
c00a7a7798
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.2)
|
||||
project(xlnt VERSION 0.9.5)
|
||||
project(xlnt VERSION 0.9)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
|
|
@ -22,9 +22,11 @@ include_dirs = [
|
|||
]
|
||||
|
||||
subdirectory = ''
|
||||
library_dir = 'lib'
|
||||
|
||||
if os.name == 'nt':
|
||||
subdirectory = '/Release'
|
||||
library_dir = 'Lib/site-packages'
|
||||
|
||||
library_dirs = [
|
||||
os.path.join(project_root, 'build/source' + subdirectory),
|
||||
|
@ -83,5 +85,5 @@ setup(
|
|||
author = 'Thomas Fussell',
|
||||
author_email = 'thomas.fussell@gmail.com',
|
||||
url = 'https://github.com/tfussell/xlnt',
|
||||
data_files = [('Lib/site-packages', data_files)]
|
||||
data_files = [(library_dir, data_files)]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user