Skip to content

Commit

Permalink
cleanup cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
pimentel committed May 13, 2015
1 parent 7a18626 commit 2f62df3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
file(GLOB sources *.cpp)
file(GLOB headers *.h *.hpp)

list(REMOVE_ITEM sources main.cpp h5kal.cpp)
list(REMOVE_ITEM sources main.cpp)

include_directories(../ext/)
add_library(kallisto_core ${sources} ${headers})
target_include_directories(kallisto_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

add_executable(kallisto main.cpp)

# add_executable(h5kal h5kal.cpp)

find_package( ZLIB REQUIRED )
if ( ZLIB_FOUND )
include_directories( ${ZLIB_INCLUDE_DIRS} )
Expand All @@ -21,7 +19,6 @@ endif( ZLIB_FOUND )

if(HDF5_FOUND)
include_directories( ${HDF5_INCLUDE_DIR} )
# target_link_libraries( h5kal ${HDF5_LIBRARIES} )
target_link_libraries( kallisto ${HDF5_LIBRARIES} )
else()
message(FATAL_ERROR "HDF5 not found. Required to output files")
Expand Down

0 comments on commit 2f62df3

Please sign in to comment.