Adjust linkage
This commit is contained in:
parent
8d91ec20fa
commit
74a59cb21b
@ -50,11 +50,11 @@ if(APPLE)
|
|||||||
set(CMAKE_MODULE_LINKER_FLAGS "-undefined dynamic_lookup")
|
set(CMAKE_MODULE_LINKER_FLAGS "-undefined dynamic_lookup")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(_cosmotool ${CosmoTool_local} ${GSL_LIBRARIES})
|
target_link_libraries(_cosmotool PRIVATE ${CosmoTool_local} ${GSL_LIBRARIES})
|
||||||
target_link_libraries(_cosmo_power ${CosmoTool_local} ${GSL_LIBRARIES})
|
target_link_libraries(_cosmo_power PRIVATE ${CosmoTool_local} ${GSL_LIBRARIES})
|
||||||
target_link_libraries(_cosmo_cic ${CosmoTool_local} ${GSL_LIBRARIES})
|
target_link_libraries(_cosmo_cic PRIVATE ${CosmoTool_local} ${GSL_LIBRARIES})
|
||||||
target_link_libraries(_project )
|
target_link_libraries(_project )
|
||||||
target_link_libraries(_fast_interp ${CosmoTool_local} )
|
target_link_libraries(_fast_interp PRIVATE ${CosmoTool_local} )
|
||||||
|
|
||||||
SET(ct_TARGETS _cosmotool _project _cosmo_power _cosmo_cic _fast_interp )
|
SET(ct_TARGETS _cosmotool _project _cosmo_power _cosmo_cic _fast_interp )
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ cdef class CosmologyPower:
|
|||||||
if 'ns' in cosmo:
|
if 'ns' in cosmo:
|
||||||
self.power.n = cosmo['ns']
|
self.power.n = cosmo['ns']
|
||||||
if 'T27' in cosmo:
|
if 'T27' in cosmo:
|
||||||
self.power.THETA_27 = cosmo['T27']
|
self.power.Theta_27 = cosmo['T27']
|
||||||
|
|
||||||
assert self.power.OMEGA_C > 0
|
assert self.power.OMEGA_C > 0
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -218,7 +218,7 @@ class BuildCMakeExt(build_ext):
|
|||||||
CosmoTool_extension = CMakeExtension(name="cosmotool")
|
CosmoTool_extension = CMakeExtension(name="cosmotool")
|
||||||
|
|
||||||
setup(name='cosmotool',
|
setup(name='cosmotool',
|
||||||
version='1.0.0a2',
|
version='1.0.0a3',
|
||||||
packages=["cosmotool"],
|
packages=["cosmotool"],
|
||||||
package_dir={'cosmotool': 'python/cosmotool'},
|
package_dir={'cosmotool': 'python/cosmotool'},
|
||||||
setup_requires=['cython','cffi','numexpr'],
|
setup_requires=['cython','cffi','numexpr'],
|
||||||
|
Loading…
Reference in New Issue
Block a user