Merge branch release-5-1
[alexxy/gromacs.git] / src / gromacs / gmxlib / CMakeLists.txt
index 9a9df8b1a1b17618ae543415a975f247aacd0480..50d052de34f4d1ed5416fabea17eec33f48f92fe 100644 (file)
 # To help us fund GROMACS development, we humbly ask that you cite
 # the research papers on the package. Check out http://www.gromacs.org.
 
-include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
-
 add_subdirectory(nonbonded)
 
 # The nonbonded directory contains subdirectories that are only
 # conditionally built, so we cannot use a GLOB_RECURSE here.
-file(GLOB GMXLIB_SOURCES *.c *.cpp)
-
-# gpu utils + cuda tools module
-if(GMX_GPU)
-    if(NOT GMX_USE_OPENCL)
-        add_subdirectory(cuda_tools)
-    else()
-        add_subdirectory(ocl_tools)
-    endif()
-endif()
-add_subdirectory(gpu_utils)
+file(GLOB GMXLIB_SOURCES *.cpp)
 
 set(GMXLIB_SOURCES ${GMXLIB_SOURCES} ${NONBONDED_SOURCES} PARENT_SCOPE)
 
-if(BUILD_TESTING)
-    add_subdirectory(tests)
-endif()
+if(BUILD_TESTING)
+    add_subdirectory(tests)
+endif()