Skip to content

Commit

Permalink
corrected order of fftw library linking
Browse files Browse the repository at this point in the history
  • Loading branch information
amirgholami committed Jan 12, 2017
1 parent 5d73849 commit ae56b40
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 15 deletions.
8 changes: 4 additions & 4 deletions steps/step1/CMakeLists.txt
Expand Up @@ -22,10 +22,10 @@ add_executable(step1 ${step1_SRCS})
target_link_libraries(step1
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTWF_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step1 ${PNETCDF_LIBRARIES})
Expand All @@ -45,10 +45,10 @@ add_executable(step1f ${step1f_SRCS})
target_link_libraries(step1f
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTWF_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step1f ${PNETCDF_LIBRARIES})
Expand Down
8 changes: 5 additions & 3 deletions steps/step2/CMakeLists.txt
Expand Up @@ -21,10 +21,10 @@ add_executable(step2f ${step2f_SRCS})
target_link_libraries(step2f
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTWF_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step2f ${PNETCDF_LIBRARIES})
Expand All @@ -43,8 +43,10 @@ add_executable(step2 ${step2_SRCS})
target_link_libraries(step2
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step2 ${PNETCDF_LIBRARIES})
Expand Down
8 changes: 5 additions & 3 deletions steps/step3/CMakeLists.txt
Expand Up @@ -20,10 +20,10 @@ add_executable(step3f ${step3f_SRCS})
target_link_libraries(step3f
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTWF_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step3f ${PNETCDF_LIBRARIES})
Expand All @@ -41,8 +41,10 @@ add_executable(step3 ${step3_SRCS})
target_link_libraries(step3
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step3 ${PNETCDF_LIBRARIES})
Expand Down
2 changes: 1 addition & 1 deletion steps/step4/CMakeLists.txt
Expand Up @@ -20,8 +20,8 @@ add_executable(step4 ${step4_SRCS})
target_link_libraries(step4
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTW_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step4 ${PNETCDF_LIBRARIES})
Expand Down
8 changes: 5 additions & 3 deletions steps/step5/CMakeLists.txt
Expand Up @@ -20,10 +20,10 @@ add_executable(step5f ${step5f_SRCS})
target_link_libraries(step5f
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTWF_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step5f ${PNETCDF_LIBRARIES})
Expand All @@ -41,8 +41,10 @@ add_executable(step5 ${step5_SRCS})
target_link_libraries(step5
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step5 ${PNETCDF_LIBRARIES})
Expand Down
4 changes: 3 additions & 1 deletion steps/step6/CMakeLists.txt
Expand Up @@ -20,8 +20,10 @@ add_executable(step6 ${step6_SRCS})
target_link_libraries(step6
accfft
accfft_utils
${FFTW_LIB}
${FFTW_THREADS_LIB}
${FFTW_LIB}
${FFTWF_THREADS_LIB}
${FFTWF_LIB}
)
if (PNETCDF_FOUND)
target_link_libraries(step6 ${PNETCDF_LIBRARIES})
Expand Down

0 comments on commit ae56b40

Please sign in to comment.