Link libdl
This commit is contained in:
parent
bd6853d96d
commit
1725125d76
@ -50,6 +50,7 @@ ENDIF(YORICK_SUPPORT)
|
|||||||
|
|
||||||
find_program(CYTHON cython)
|
find_program(CYTHON cython)
|
||||||
find_library(ZLIB z)
|
find_library(ZLIB z)
|
||||||
|
find_library(DL_LIBRARY dl)
|
||||||
|
|
||||||
set(NETCDF_FIND_REQUIRED ${YORICK_SUPPORT})
|
set(NETCDF_FIND_REQUIRED ${YORICK_SUPPORT})
|
||||||
set(GSL_FIND_REQUIRED TRUE)
|
set(GSL_FIND_REQUIRED TRUE)
|
||||||
|
@ -744,7 +744,6 @@ cdef DTYPE_t C_line_of_sight_projection(DTYPE_t[:,:,:] density,
|
|||||||
jumper[0] = 0
|
jumper[0] = 0
|
||||||
dist2 = 0
|
dist2 = 0
|
||||||
while completed == 0:
|
while completed == 0:
|
||||||
|
|
||||||
I0 += integrator(density, u, u0, u_delta, iu0, jumper, max_distance-sqrt(dist2))
|
I0 += integrator(density, u, u0, u_delta, iu0, jumper, max_distance-sqrt(dist2))
|
||||||
|
|
||||||
if u[jumper[0]] < 0:
|
if u[jumper[0]] < 0:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SET(tolink ${GSL_LIBRARIES} ${CosmoTool_local} ${CosmoTool_LIBS})
|
SET(tolink ${GSL_LIBRARIES} ${CosmoTool_local} ${CosmoTool_LIBS} ${DL_LIBRARY})
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/src)
|
include_directories(${CMAKE_SOURCE_DIR}/src)
|
||||||
include_directories(${FFTW3_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${GSL_INCLUDE_PATH})
|
include_directories(${FFTW3_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${GSL_INCLUDE_PATH})
|
||||||
if(YORICK_SUPPORT)
|
if(YORICK_SUPPORT)
|
||||||
|
Loading…
Reference in New Issue
Block a user