Fixed link ordering on Ubuntu. Added const in testReadFlash

This commit is contained in:
Guilhem Lavaux 2012-10-18 10:15:25 -04:00
parent 843291ae53
commit 3aa898e636
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);