Changeset View
Changeset View
Standalone View
Standalone View
tests/nsl/dft/CMakeLists.txt
1 | INCLUDE_DIRECTORIES(${GSL_INCLUDE_DIR}) | 1 | INCLUDE_DIRECTORIES(${GSL_INCLUDE_DIR}) | ||
---|---|---|---|---|---|
2 | add_executable (nsldfttest NSLDFTTest.cpp ../NSLTest.cpp ../../CommonTest.cpp) | 2 | add_executable (nsldfttest NSLDFTTest.cpp ../NSLTest.cpp ../../CommonTest.cpp) | ||
3 | 3 | | |||
4 | target_link_libraries(nsldfttest Qt5::Test) | 4 | target_link_libraries(nsldfttest Qt5::Test) | ||
5 | target_link_libraries(nsldfttest ${GSL_LIBRARIES} ${GSL_CBLAS_LIBRARIES}) | 5 | target_link_libraries(nsldfttest ${GSL_LIBRARIES} ${GSL_CBLAS_LIBRARIES}) | ||
6 | 6 | | |||
7 | IF (FFTW_FOUND) | 7 | IF (FFTW3_FOUND) | ||
8 | target_link_libraries(nsldfttest ${FFTW_LIBRARIES}) | 8 | target_link_libraries(nsldfttest ${FFTW3_LIBRARIES}) | ||
9 | ENDIF () | 9 | ENDIF () | ||
10 | 10 | | |||
11 | target_link_libraries(nsldfttest labplot2lib) | 11 | target_link_libraries(nsldfttest labplot2lib) | ||
12 | 12 | | |||
13 | add_test(NAME nsldfttest COMMAND nsldfttest) | 13 | add_test(NAME nsldfttest COMMAND nsldfttest) |