Changeset View
Changeset View
Standalone View
Standalone View
tests/analysis/correlation/CMakeLists.txt
1 | INCLUDE_DIRECTORIES(${GSL_INCLUDE_DIR}) | 1 | INCLUDE_DIRECTORIES(${GSL_INCLUDE_DIR}) | ||
---|---|---|---|---|---|
2 | add_executable (correlationtest CorrelationTest.cpp ../AnalysisTest.cpp ../../CommonTest.cpp) | 2 | add_executable (correlationtest CorrelationTest.cpp ../AnalysisTest.cpp ../../CommonTest.cpp) | ||
3 | 3 | | |||
4 | target_link_libraries(correlationtest Qt5::Test) | 4 | target_link_libraries(correlationtest Qt5::Test) | ||
5 | target_link_libraries(correlationtest KF5::Archive KF5::XmlGui ${GSL_LIBRARIES} ${GSL_CBLAS_LIBRARIES}) | 5 | target_link_libraries(correlationtest KF5::Archive KF5::XmlGui ${GSL_LIBRARIES} ${GSL_CBLAS_LIBRARIES}) | ||
6 | 6 | | |||
7 | IF (FFTW_FOUND) | 7 | IF (FFTW3_FOUND) | ||
8 | target_link_libraries(correlationtest ${FFTW_LIBRARIES}) | 8 | target_link_libraries(correlationtest ${FFTW3_LIBRARIES}) | ||
9 | ENDIF () | 9 | ENDIF () | ||
10 | 10 | | |||
11 | target_link_libraries(correlationtest labplot2lib) | 11 | target_link_libraries(correlationtest labplot2lib) | ||
12 | 12 | | |||
13 | add_test(NAME correlationtest COMMAND correlationtest) | 13 | add_test(NAME correlationtest COMMAND correlationtest) |