Fixed link ordering on Ubuntu. Added const in testReadFlash
This commit is contained in:
parent
843291ae53
commit
3aa898e636
@ -1,4 +1,4 @@
|
||||
SET(tolink CosmoTool ${CosmoTool_LIBS})
|
||||
SET(tolink ${GSL_LIBRARIES} CosmoTool ${CosmoTool_LIBS})
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src ${FFTW3_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${NETCDF_INCLUDE_PATH} ${GSL_INCLUDE_PATH})
|
||||
|
||||
add_executable(testBQueue testBQueue.cpp)
|
||||
|
@ -9,7 +9,7 @@ using namespace std;
|
||||
|
||||
int main () {
|
||||
|
||||
char* filename = "lss_read_hdf5_chk_0000";
|
||||
const char* filename = "lss_read_hdf5_chk_0000";
|
||||
|
||||
SimuData* data = CosmoTool::loadFlashMulti(filename, 0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user