Fixed build for handling only static lib

This commit is contained in:
Guilhem Lavaux 2012-09-12 21:30:20 -04:00
parent dc03871f37
commit 0afe7b7eab
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
SET(tolink ${GSL_LIBRARIES} CosmoTool)
SET(tolink ${GSL_LIBRARIES} CosmoTool ${CosmoTool_LIBS})
include_directories(${CMAKE_SOURCE_DIR}/src ${NETCDF_INCLUDE_PATH} ${GSL_INCLUDE_PATH})
add_executable(testBQueue testBQueue.cpp)
@ -35,4 +35,4 @@ add_executable(testEskow testEskow.cpp)
target_link_libraries(testEskow ${tolink})
add_executable(testAlgo testAlgo.cpp)
target_link_libraries(testAlgo ${tolink})
target_link_libraries(testAlgo ${tolink})