Skip to content

Commit

Permalink
Move old cmake files
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed May 4, 2012
1 parent 06ae5cd commit 6a1d31b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion deps/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8)
add_subdirectory(arpack)
add_subdirectory(fftw-3.3)
add_subdirectory(fftw-3.3)
set(FFTW_SINGLE ON)
add_subdirectory(fftw-3.3 ${CMAKE_CURRENT_BINARY_DIR}/fftw-3.3f)
2 changes: 1 addition & 1 deletion deps/cmake/arpack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ prefixlist(arpackutil_STAT_SRCS "${arpackutil_DIR}")

########### next target ###############
add_library(arpack SHARED ${arpacksrc_STAT_SRCS} ${arpackutil_STAT_SRCS})
target_link_libraries(arpack ${LAPACK_TARGET} ${BLAS_LIBRARIES})
target_link_libraries(arpack ${LapackLIB} ${BLAS_LIBRARIES})
set_target_properties(arpack PROPERTIES VERSION 2.0.0 SOVERSION 2)
2 changes: 1 addition & 1 deletion deps/cmake/fftw-3.3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ if(FFTW_QUAD)
set(BENCHFFT_QUAD ON)
endif()

set(PREC_PREFIX ${PRECISION})
set(PREC_SUFFIX ${PRECISION})
if(NOT DEFINED PRECISION)
set(PRECISION "d")
endif()
Expand Down
2 changes: 1 addition & 1 deletion deps/cmake/fftw-3.3/libbench2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR})
string(REPLACE "${TOP_CMAKE_SRCDIR}" "" SRCDIR "${SRCDIR}")
prefixlist(bench2_STAT_SRCS "${TOP_SRCDIR}/${SRCDIR}/")

add_library(bench2 STATIC ${bench2_STAT_SRCS})
add_library(bench2${PREC_SUFFIX} STATIC ${bench2_STAT_SRCS})


########### install files ###############
2 changes: 1 addition & 1 deletion deps/fdlibm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ w_sinh.c
w_sqrt.c
)

add_library(fdlibm STATIC ${SOURCES})
add_library(fdlibm STATIC ${SOURCES})

0 comments on commit 6a1d31b

Please sign in to comment.