Don't build tests until they are run
[alexxy/gromacs.git] / src / gromacs / trajectoryanalysis / tests / CMakeLists.txt
index a752e3f12d571320fea103721be22e6b46000bdd..b07003f628bef568c0266ca6f94a370261fd52a4 100644 (file)
@@ -41,5 +41,5 @@ gmx_add_unit_test(TrajectoryAnalysisUnitTests trajectoryanalysis-test
                   select.cpp
                   $<TARGET_OBJECTS:analysisdata-test-shared>)
 
-add_executable(test_selection test_selection.cpp)
+add_executable(test_selection ${UNITTEST_TARGET_OPTIONS} test_selection.cpp)
 target_link_libraries(test_selection libgromacs ${GMX_EXE_LINKER_FLAGS})